java.lang.Object
org.maxicp.modeling.symbolic.IntVarRangeImpl
- All Implemented Interfaces:
Serializable,Expression,IntExpression,SymbolicIntExpression,IntVar,SymbolicIntVar,SymbolicVar,Var
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntVarRangeImpl(ModelProxy modelProxy, int min, int max) IntVarRangeImpl(ModelProxy modelProxy, String id, int min, int max) -
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
-
Constructor Details
-
IntVarRangeImpl
-
IntVarRangeImpl
-
-
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
-