public abstract class PropositionalBinaryConstraint extends PropositionalConstraint
Modifier and Type | Field and Description |
---|---|
protected PropositionalConstraint |
left
The constraint on the left of the operator.
|
protected PropositionalConstraint |
right
The constraint on the right of the operator.
|
Constructor and Description |
---|
PropositionalBinaryConstraint(PropositionalConstraint l,
PropositionalConstraint 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.
|
clone, CNF, DNF, moreGeneralThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, moreSpecificThan, negate, simplify, toString, write
evaluate, runVisit
protected PropositionalConstraint left
protected PropositionalConstraint right
public PropositionalBinaryConstraint(PropositionalConstraint l, PropositionalConstraint 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 Constraint[] getChildren()
getChildren
in class Constraint
Copyright © 2016. All rights reserved.