add projectedCopy
This commit is contained in:
@@ -367,6 +367,16 @@ ConstraintTree::project (const LogVarSet& X)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ConstraintTree
|
||||||
|
ConstraintTree::projectedCopy (const LogVarSet& X)
|
||||||
|
{
|
||||||
|
ConstraintTree copy = *this;
|
||||||
|
copy.project (X);
|
||||||
|
return copy;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ConstraintTree::remove (const LogVarSet& X)
|
ConstraintTree::remove (const LogVarSet& X)
|
||||||
{
|
{
|
||||||
|
@@ -158,6 +158,8 @@ class ConstraintTree
|
|||||||
|
|
||||||
void project (const LogVarSet&);
|
void project (const LogVarSet&);
|
||||||
|
|
||||||
|
ConstraintTree projectedCopy (const LogVarSet&);
|
||||||
|
|
||||||
void remove (const LogVarSet&);
|
void remove (const LogVarSet&);
|
||||||
|
|
||||||
bool isSingleton (LogVar);
|
bool isSingleton (LogVar);
|
||||||
|
Reference in New Issue
Block a user