public class Floor2D extends Schedulable
Schedulable.PEAKCOLLECTIONactivities, beforeParameter, peakCollectionStrategyindependentMC, metaCS, valOH, varOHannotation, autoRemovable, color, id, logger, masked, numIDs, scope| Constructor and Description |
|---|
Floor2D(VariableOrderingH varOH,
ValueOrderingH valOH,
double distanceThreshold) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
draw(ConstraintNetwork network)
Method to draw the metaCSP's constraint network according to the rationale of
this
MetaConstraint (e.g., for a resource, this could be the resource usage profile
as it is determined by the given constraint network). |
java.lang.String |
getEdgeLabel()
Every
Constraint should implement this method - its value is
what is drawn by the ConstraintNetwork rendering methods. |
ConstraintSolver |
getGroundSolver()
Provides the definition of how to get the/a groundSolver for this
MetaConstraint. |
ConstraintNetwork[] |
getMetaValues(MetaVariable metaVariable)
Get all meta values for a given
MetaVariable. |
boolean |
isConflicting(Activity[] peak) |
boolean |
isEquivalent(Constraint c)
Method for assessing the "equivalence" between two constraints.
|
java.lang.String |
toString()
Every
Constraint should implement a toString method (used by the
ConstraintNetwork rendering methods). |
binaryPeakCollection, completePeakCollection, getActivityOnUse, getBeforeParameter, getMetaVariables, getOrderedMCSs, getPeakCollectionStrategy, markResolvedSub, removeUsage, samplingPeakCollection, setBeforeParameter, setPeakCollectionStrategy, setUsage, temporalOverlapgetDescription, getMetaValue, getMetaVariable, getValOH, getVarOH, setMetaSolver, setValOH, setVarOHgetAnnotation, getColor, getID, getScope, isAutoRemovable, isMasked, isSkippableSolver, isUnary, mask, setAnnotation, setAutoRemovable, setColor, setScope, skipSolver, unmaskpublic Floor2D(VariableOrderingH varOH, ValueOrderingH valOH, double distanceThreshold)
public boolean isConflicting(Activity[] peak)
isConflicting in class Schedulablepublic void draw(ConstraintNetwork network)
MetaConstraintMetaConstraint (e.g., for a resource, this could be the resource usage profile
as it is determined by the given constraint network). This method must be implemented by the
developer of the MetaConstraint.draw in class MetaConstraintnetwork - The constraint network to draw.public java.lang.String toString()
ConstraintConstraint should implement a toString method (used by the
ConstraintNetwork rendering methods).toString in class ConstraintString representation of this Constraint.public java.lang.String getEdgeLabel()
ConstraintConstraint should implement this method - its value is
what is drawn by the ConstraintNetwork rendering methods.getEdgeLabel in class ConstraintString representation of the constraint to be used for
ConstraintNetwork rendering.public java.lang.Object clone()
clone in class Constraintpublic boolean isEquivalent(Constraint c)
ConstraintisEquivalent in class Constraintc - The Constraint to compare against.true iff the two constraints are considered to be equivalent.public ConstraintSolver getGroundSolver()
MetaConstraintMetaConstraint.getGroundSolver in class MetaConstraintMetaConstraint.public ConstraintNetwork[] getMetaValues(MetaVariable metaVariable)
MetaConstraintMetaVariable. This method must be
implemented in the specific MetaConstraint.getMetaValues in class SchedulablemetaVariable - The MetaVariable for which we seek meta values.MetaVariable.