java.lang.Object
org.maxicp.modeling.constraints.NoOpConstraint
- All Implemented Interfaces:
Constraint
A constraint that does nothing. This is supposed to be used to force a solver to trigger its fixpoint.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NoOpConstraintnoOp()Collection<? extends Expression> scope()Returns the scope of the constraint, preferably as an immutable, unique collection.
-
Field Details
-
noOp
-
-
Constructor Details
-
NoOpConstraint
public NoOpConstraint()
-
-
Method Details
-
scope
Description copied from interface:ConstraintReturns the scope of the constraint, preferably as an immutable, unique collection.- Specified by:
scopein interfaceConstraint- Returns:
- the scope of the constraint, i.e. all the Expressions it uses. The collection should be immutable.
-
noOp
-