Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.CastConstraint Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.CastConstraint:
com.google.ortools.constraintsolver.Constraint com.google.ortools.constraintsolver.PropagationBaseObject com.google.ortools.constraintsolver.BaseObject

Public Member Functions

synchronized void delete ()
 
IntVar target_var ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.Constraint
void post ()
 
void initialPropagate ()
 
String toString ()
 
void postAndPropagate ()
 
void accept (ModelVisitor visitor)
 
boolean isCastConstraint ()
 
IntVar var ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject
 PropagationBaseObject (Solver s)
 
Solver solver ()
 
void freezeQueue ()
 
void unfreezeQueue ()
 
void enqueueDelayedDemon (Demon d)
 
void enqueueVar (Demon d)
 
void reset_action_on_fail ()
 
void set_variable_to_clean_on_fail (IntVar v)
 
String name ()
 
void setName (String name)
 
boolean hasName ()
 
String baseName ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject ()
 

Protected Member Functions

 CastConstraint (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.Constraint
 Constraint (long cPtr, boolean cMemoryOwn)
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject
 PropagationBaseObject (long cPtr, boolean cMemoryOwn)
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject (long cPtr, boolean cMemoryOwn)
 

Static Protected Member Functions

static long getCPtr (CastConstraint obj)
 
static long swigRelease (CastConstraint obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.Constraint
static long getCPtr (Constraint obj)
 
static long swigRelease (Constraint obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.PropagationBaseObject
static long getCPtr (PropagationBaseObject obj)
 
static long swigRelease (PropagationBaseObject obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
static long getCPtr (BaseObject obj)
 
static long swigRelease (BaseObject obj)
 

Additional Inherited Members

- Protected Attributes inherited from com.google.ortools.constraintsolver.BaseObject
transient boolean swigCMemOwn
 

Detailed Description

Cast constraints are special channeling constraints designed
to keep a variable in sync with an expression. They are
created internally when Var() is called on a subclass of IntExpr.

Definition at line 16 of file CastConstraint.java.

Constructor & Destructor Documentation

◆ CastConstraint()

com.google.ortools.constraintsolver.CastConstraint.CastConstraint ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 19 of file CastConstraint.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.constraintsolver.CastConstraint.delete ( )

Reimplemented from com.google.ortools.constraintsolver.Constraint.

Definition at line 45 of file CastConstraint.java.

◆ finalize()

void com.google.ortools.constraintsolver.CastConstraint.finalize ( )
protected

Reimplemented from com.google.ortools.constraintsolver.Constraint.

Definition at line 41 of file CastConstraint.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.CastConstraint.getCPtr ( CastConstraint obj)
staticprotected

Definition at line 24 of file CastConstraint.java.

◆ swigRelease()

static long com.google.ortools.constraintsolver.CastConstraint.swigRelease ( CastConstraint obj)
staticprotected

Definition at line 28 of file CastConstraint.java.

◆ target_var()

IntVar com.google.ortools.constraintsolver.CastConstraint.target_var ( )

Definition at line 56 of file CastConstraint.java.


The documentation for this class was generated from the following file: