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

Public Member Functions

synchronized void delete ()
 
void swigReleaseOwnership ()
 
void swigTakeOwnership ()
 
 IntVarLocalSearchFilter (IntVar[] vars)
 
void synchronize (Assignment assignment, Assignment delta)
 
void addVars (IntVar[] vars)
 
int size ()
 
IntVar var (int index)
 
long value (int index)
 
int index (IntVar var)
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.LocalSearchFilter
void Relax (Assignment delta, Assignment deltadelta)
 
void Commit (Assignment delta, Assignment deltadelta)
 
boolean accept (Assignment delta, Assignment deltadelta, long objective_min, long objective_max)
 
boolean isIncremental ()
 
void Revert ()
 
void Reset ()
 
long getSynchronizedObjectiveValue ()
 
long getAcceptedObjectiveValue ()
 
 LocalSearchFilter ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject ()
 
String toString ()
 

Protected Member Functions

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

Definition at line 15 of file IntVarLocalSearchFilter.java.

Constructor & Destructor Documentation

◆ IntVarLocalSearchFilter() [1/2]

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

Definition at line 18 of file IntVarLocalSearchFilter.java.

◆ IntVarLocalSearchFilter() [2/2]

com.google.ortools.constraintsolver.IntVarLocalSearchFilter.IntVarLocalSearchFilter ( IntVar[] vars)

Definition at line 70 of file IntVarLocalSearchFilter.java.

Member Function Documentation

◆ addVars()

void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.addVars ( IntVar[] vars)

Add variables to "track" to the filter.

Definition at line 86 of file IntVarLocalSearchFilter.java.

◆ delete()

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

◆ finalize()

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

◆ getCPtr()

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

Definition at line 23 of file IntVarLocalSearchFilter.java.

◆ index()

int com.google.ortools.constraintsolver.IntVarLocalSearchFilter.index ( IntVar var)

Definition at line 107 of file IntVarLocalSearchFilter.java.

◆ onSynchronize()

void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.onSynchronize ( Assignment delta)
protected

Definition at line 103 of file IntVarLocalSearchFilter.java.

◆ size()

int com.google.ortools.constraintsolver.IntVarLocalSearchFilter.size ( )

Definition at line 90 of file IntVarLocalSearchFilter.java.

◆ swigDirectorDisconnect()

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

◆ swigRelease()

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

Definition at line 27 of file IntVarLocalSearchFilter.java.

◆ swigReleaseOwnership()

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

◆ swigTakeOwnership()

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

◆ synchronize()

void com.google.ortools.constraintsolver.IntVarLocalSearchFilter.synchronize ( Assignment assignment,
Assignment delta )

This method should not be overridden. Override OnSynchronize() instead
which is called before exiting this method.

Reimplemented from com.google.ortools.constraintsolver.LocalSearchFilter.

Definition at line 79 of file IntVarLocalSearchFilter.java.

◆ value()

long com.google.ortools.constraintsolver.IntVarLocalSearchFilter.value ( int index)

Definition at line 99 of file IntVarLocalSearchFilter.java.

◆ var()

IntVar com.google.ortools.constraintsolver.IntVarLocalSearchFilter.var ( int index)

Definition at line 94 of file IntVarLocalSearchFilter.java.


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