public abstract class FirstOrderBinaryConstraint extends FirstOrderConstraint
Modifier and Type | Field and Description |
---|---|
protected FirstOrderConstraint |
left
The constraint on the left of the operator.
|
protected FirstOrderConstraint |
right
The constraint on the right of the operator.
|
Constructor and Description |
---|
FirstOrderBinaryConstraint(FirstOrderConstraint l,
FirstOrderConstraint r)
Initializing constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
consolidateVariables(AbstractMap m)
Replaces all unquantified variables with the unique copy stored as a value of the given map;
also instantiates all quantified variables and stores them in the given map.
|
Constraint[] |
getChildren()
Returns the children of this constraint in an array.
|
void |
setQuantificationVariables(Vector o)
This method sets the given quantification variables to the given object references and
evaluates the expressions involving those variables in this constraint's
FirstOrderEquality children. |
propositionalize
evaluate, runVisit
protected FirstOrderConstraint left
protected FirstOrderConstraint right
public FirstOrderBinaryConstraint(FirstOrderConstraint l, FirstOrderConstraint r)
l
- The constraint on the left of the operator.r
- The constraint on the right of the operator.public void consolidateVariables(AbstractMap m)
consolidateVariables
in class Constraint
m
- The map in which to find unique copies of the variables.public void setQuantificationVariables(Vector o)
FirstOrderEquality
children.setQuantificationVariables
in class FirstOrderConstraint
o
- The new object references for the enclosing quantification variables, in order of
nesting.public Constraint[] getChildren()
getChildren
in class Constraint
Copyright © 2016. All rights reserved.