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

Public Member Functions

synchronized void delete ()
 
void swigReleaseOwnership ()
 
void swigTakeOwnership ()
 
 SymmetryBreaker ()
 
void addIntegerVariableEqualValueClause (IntVar var, long value)
 
void addIntegerVariableGreaterOrEqualValueClause (IntVar var, long value)
 
void addIntegerVariableLessOrEqualValueClause (IntVar var, long value)
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.DecisionVisitor
 DecisionVisitor ()
 
void visitSetVariableValue (IntVar var, long value)
 
void visitSplitVariableDomain (IntVar var, long value, boolean start_with_lower_half)
 
void visitScheduleOrPostpone (IntervalVar var, long est)
 
void visitScheduleOrExpedite (IntervalVar var, long est)
 
void visitRankFirstInterval (SequenceVar sequence, int index)
 
void visitRankLastInterval (SequenceVar sequence, int index)
 
void visitUnknownDecision ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject ()
 
String toString ()
 

Protected Member Functions

 SymmetryBreaker (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
void swigDirectorDisconnect ()
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.DecisionVisitor
 DecisionVisitor (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 (SymmetryBreaker obj)
 
static long swigRelease (SymmetryBreaker obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.DecisionVisitor
static long getCPtr (DecisionVisitor obj)
 
static long swigRelease (DecisionVisitor 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

A symmetry breaker is an object that will visit a decision and
create the 'symmetrical' decision in return.
Each symmetry breaker represents one class of symmetry.

Definition at line 16 of file SymmetryBreaker.java.

Constructor & Destructor Documentation

◆ SymmetryBreaker() [1/2]

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

Definition at line 19 of file SymmetryBreaker.java.

◆ SymmetryBreaker() [2/2]

com.google.ortools.constraintsolver.SymmetryBreaker.SymmetryBreaker ( )

Definition at line 71 of file SymmetryBreaker.java.

Member Function Documentation

◆ addIntegerVariableEqualValueClause()

void com.google.ortools.constraintsolver.SymmetryBreaker.addIntegerVariableEqualValueClause ( IntVar var,
long value )

Definition at line 76 of file SymmetryBreaker.java.

◆ addIntegerVariableGreaterOrEqualValueClause()

void com.google.ortools.constraintsolver.SymmetryBreaker.addIntegerVariableGreaterOrEqualValueClause ( IntVar var,
long value )

Definition at line 80 of file SymmetryBreaker.java.

◆ addIntegerVariableLessOrEqualValueClause()

void com.google.ortools.constraintsolver.SymmetryBreaker.addIntegerVariableLessOrEqualValueClause ( IntVar var,
long value )

Definition at line 84 of file SymmetryBreaker.java.

◆ delete()

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

Reimplemented from com.google.ortools.constraintsolver.DecisionVisitor.

Definition at line 45 of file SymmetryBreaker.java.

◆ finalize()

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

Reimplemented from com.google.ortools.constraintsolver.DecisionVisitor.

Definition at line 41 of file SymmetryBreaker.java.

◆ getCPtr()

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

Definition at line 24 of file SymmetryBreaker.java.

◆ swigDirectorDisconnect()

void com.google.ortools.constraintsolver.SymmetryBreaker.swigDirectorDisconnect ( )
protected

Reimplemented from com.google.ortools.constraintsolver.DecisionVisitor.

Definition at line 56 of file SymmetryBreaker.java.

◆ swigRelease()

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

Definition at line 28 of file SymmetryBreaker.java.

◆ swigReleaseOwnership()

void com.google.ortools.constraintsolver.SymmetryBreaker.swigReleaseOwnership ( )

Reimplemented from com.google.ortools.constraintsolver.DecisionVisitor.

Definition at line 61 of file SymmetryBreaker.java.

◆ swigTakeOwnership()

void com.google.ortools.constraintsolver.SymmetryBreaker.swigTakeOwnership ( )

Reimplemented from com.google.ortools.constraintsolver.DecisionVisitor.

Definition at line 66 of file SymmetryBreaker.java.


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