Class PProject
java.lang.Object
tools.refinery.interpreter.matchers.planning.operations.POperation
tools.refinery.interpreter.matchers.planning.operations.PProject
Represents a projection of a single parent SubPlan onto a limited set of variables.
May optionally prescribe an ordering of variables (List, as opposed to Set).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConsistency
(SubPlan subPlan) Checks whether this constraint can be properly applied at the given SubPlan.boolean
Set
<? extends PConstraint> Newly enforced constraintsint
hashCode()
boolean
int
Methods inherited from class tools.refinery.interpreter.matchers.planning.operations.POperation
toString
-
Constructor Details
-
PProject
-
PProject
-
-
Method Details
-
getToVariables
-
isOrdered
public boolean isOrdered() -
getDeltaConstraints
Description copied from class:POperation
Newly enforced constraints- Specified by:
getDeltaConstraints
in classPOperation
-
numParentSubPlans
public int numParentSubPlans()- Specified by:
numParentSubPlans
in classPOperation
- Returns:
- the number of SubPlans that must be specified as parents
-
checkConsistency
Description copied from class:POperation
Checks whether this constraint can be properly applied at the given SubPlan.- Overrides:
checkConsistency
in classPOperation
-
getShortName
- Specified by:
getShortName
in classPOperation
-
hashCode
public int hashCode() -
equals
-