java.lang.Object
org.maxicp.modeling.constraints.seqvar.Distance
- All Implemented Interfaces:
Constraint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Expression> scope()Returns the scope of the constraint, preferably as an immutable, unique collection.
-
Field Details
-
seqVar
-
distanceMatrix
public final int[][] distanceMatrix -
distance
-
-
Constructor Details
-
Distance
-
-
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.
-