Uses of Interface
org.maxicp.cp.engine.core.CPSetVar
Packages that use CPSetVar
Package
Description
Constraint Programming Solver Implementation
Constraints implementation for Set Variables
Solver objects
-
Uses of CPSetVar in org.maxicp.cp
Methods in org.maxicp.cp that return CPSetVarModifier and TypeMethodDescriptionstatic CPSetVarCPFactory.makeSetVar(CPSolver cp, int n) Creates a set variable with possible elements{0,...,n-1}Methods in org.maxicp.cp with parameters of type CPSetVarModifier and TypeMethodDescriptionstatic CPConstraintReturns a constraint imposing that the value is excluded from the set variable.static CPConstraintReturns a constraint imposing that the value is included in the set variable.static CPBoolVarCPFactory.isIncluded(CPSetVar x, int v) Returns a boolean variable representing if a set variable contains a given value. -
Uses of CPSetVar in org.maxicp.cp.engine.constraints.setvar
Constructors in org.maxicp.cp.engine.constraints.setvar with parameters of type CPSetVarModifierConstructorDescriptionIsIncluded(CPBoolVar bool, CPSetVar set, int v) Creates a constraint that links a boolean variable to the inclusion of a value in a set.Creates a constraint that enforces the boolean variable b to be true if and only set1 is a subset (not necessarily strict) of set2 .Creates a constraint that enforces that set1 is not a subset of set2.Creates a constraint that links a set variable to the cardinality of the set.Creates a constraint that enforces that set1 is a subset of set2. -
Uses of CPSetVar in org.maxicp.cp.engine.core
Classes in org.maxicp.cp.engine.core that implement CPSetVarModifier and TypeClassDescriptionclassA fixed set variable that contains a specific set of values.classImplementation of a set variable.