Class Solver.IntegerCastInfo
java.lang.Object
com.google.ortools.constraintsolver.Solver.IntegerCastInfo
- Enclosing class:
- Solver
public static class Solver.IntegerCastInfo
extends java.lang.Object
Holds semantic information stating that the 'expression' has been
cast into 'variable' using the Var() method, and that
'maintainer' is responsible for maintaining the equality between
'variable' and 'expression'.
cast into 'variable' using the Var() method, and that
'maintainer' is responsible for maintaining the equality between
'variable' and 'expression'.
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn -
Constructor Summary
Constructors Modifier Constructor Description IntegerCastInfo()protectedIntegerCastInfo(long cPtr, boolean cMemoryOwn)IntegerCastInfo(IntVar v, IntExpr e, Constraint c) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(Solver.IntegerCastInfo obj)IntExprgetExpression()ConstraintgetMaintainer()IntVargetVariable()voidsetExpression(IntExpr value)voidsetMaintainer(Constraint value)voidsetVariable(IntVar value)Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
IntegerCastInfo
protected IntegerCastInfo(long cPtr, boolean cMemoryOwn) -
IntegerCastInfo
public IntegerCastInfo() -
IntegerCastInfo
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize()- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete() -
setVariable
-
getVariable
-
setExpression
-
getExpression
-
setMaintainer
-
getMaintainer
-