Class Solver.IntegerCastInfo

java.lang.Object
com.google.ortools.constraintsolver.Solver.IntegerCastInfo
Enclosing class:
Solver

public static class Solver.IntegerCastInfo extends 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'.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • IntegerCastInfo

      public IntegerCastInfo(long cPtr, boolean cMemoryOwn)
    • IntegerCastInfo

      public IntegerCastInfo()
    • IntegerCastInfo

      public IntegerCastInfo(IntVar v, IntExpr e, Constraint c)
  • Method Details

    • getCPtr

      public static long getCPtr(Solver.IntegerCastInfo obj)
    • swigRelease

      public static long swigRelease(Solver.IntegerCastInfo obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setVariable

      public void setVariable(IntVar value)
    • getVariable

      public IntVar getVariable()
    • setExpression

      public void setExpression(IntExpr value)
    • getExpression

      public IntExpr getExpression()
    • setMaintainer

      public void setMaintainer(Constraint value)
    • getMaintainer

      public Constraint getMaintainer()