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 TypeMethodDescriptionvoidcheckConsistency(SubPlan subPlan) Checks whether this constraint can be properly applied at the given SubPlan.booleanSet<? extends PConstraint> Newly enforced constraintsinthashCode()booleanintMethods 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:POperationNewly enforced constraints- Specified by:
getDeltaConstraintsin classPOperation
-
numParentSubPlans
public int numParentSubPlans()- Specified by:
numParentSubPlansin classPOperation- Returns:
- the number of SubPlans that must be specified as parents
-
checkConsistency
Description copied from class:POperationChecks whether this constraint can be properly applied at the given SubPlan.- Overrides:
checkConsistencyin classPOperation
-
getShortName
- Specified by:
getShortNamein classPOperation
-
hashCode
public int hashCode() -
equals
-