add projectedCopy

This commit is contained in:
Tiago Gomes 2012-10-29 21:37:58 +00:00
parent 324ea1a96c
commit d07ea73050
2 changed files with 12 additions and 0 deletions

View File

@ -367,6 +367,16 @@ ConstraintTree::project (const LogVarSet& X)
ConstraintTree
ConstraintTree::projectedCopy (const LogVarSet& X)
{
ConstraintTree copy = *this;
copy.project (X);
return copy;
}
void
ConstraintTree::remove (const LogVarSet& X)
{

View File

@ -157,6 +157,8 @@ class ConstraintTree
void applySubstitution (const Substitution&);
void project (const LogVarSet&);
ConstraintTree projectedCopy (const LogVarSet&);
void remove (const LogVarSet&);