java.lang.Object
org.maxicp.modeling.symbolic.IntVarSetImpl
- All Implemented Interfaces:
Serializable,Expression,IntExpression,SymbolicIntExpression,IntVar,SymbolicIntVar,SymbolicVar,Var
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntVarSetImpl(ModelProxy modelProxy, String id, Set<Integer> domain) IntVarSetImpl(ModelProxy modelProxy, Set<Integer> domain) -
Method Summary
Modifier and TypeMethodDescriptionbooleandefaultContains(int v) intintdefaultFillArray(int[] array) intintintReturns the ModelDispatcher linked to this ExpressiontoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.maxicp.modeling.algebra.Expression
subexpressionsMethods inherited from interface org.maxicp.modeling.algebra.integer.IntExpression
showMethods inherited from interface org.maxicp.modeling.IntVar
computeSubexpressions, isFixed, mapSubexpressions
-
Field Details
-
dom
-
-
Constructor Details
-
IntVarSetImpl
-
IntVarSetImpl
-
-
Method Details
-
defaultEvaluate
- Specified by:
defaultEvaluatein interfaceSymbolicIntExpression- Throws:
VariableNotFixedException
-
defaultMin
public int defaultMin()- Specified by:
defaultMinin interfaceSymbolicIntExpression
-
defaultMax
public int defaultMax()- Specified by:
defaultMaxin interfaceSymbolicIntExpression
-
defaultSize
public int defaultSize()- Specified by:
defaultSizein interfaceSymbolicIntExpression
-
defaultContains
public boolean defaultContains(int v) - Specified by:
defaultContainsin interfaceSymbolicIntExpression
-
defaultFillArray
public int defaultFillArray(int[] array) - Specified by:
defaultFillArrayin interfaceSymbolicIntExpression
-
toString
-
getModelProxy
Description copied from interface:ExpressionReturns the ModelDispatcher linked to this Expression- Specified by:
getModelProxyin interfaceExpression- Specified by:
getModelProxyin interfaceVar
-