minor renaming
This commit is contained in:
parent
2efca0c85a
commit
4b2ffee015
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Factor::Factor (const Factor& g)
|
Factor::Factor (const Factor& g)
|
||||||
{
|
{
|
||||||
copyFromFactor (g);
|
clone (g);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ void
|
|||||||
Factor::multiply (Factor& g)
|
Factor::multiply (Factor& g)
|
||||||
{
|
{
|
||||||
if (args_.size() == 0) {
|
if (args_.size() == 0) {
|
||||||
copyFromFactor (g);
|
clone (g);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
TFactor<VarId>::multiply (g);
|
TFactor<VarId>::multiply (g);
|
||||||
@ -237,7 +237,7 @@ Factor::sumOutArgs (const vector<bool>& mask)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Factor::copyFromFactor (const Factor& g)
|
Factor::clone (const Factor& g)
|
||||||
{
|
{
|
||||||
args_ = g.arguments();
|
args_ = g.arguments();
|
||||||
ranges_ = g.ranges();
|
ranges_ = g.ranges();
|
||||||
|
@ -312,7 +312,7 @@ class Factor : public TFactor<VarId>
|
|||||||
|
|
||||||
void sumOutArgs (const vector<bool>& mask);
|
void sumOutArgs (const vector<bool>& mask);
|
||||||
|
|
||||||
void copyFromFactor (const Factor& f);
|
void clone (const Factor& f);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user