Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.LocalSearchOperatorState Class Reference

Public Member Functions

synchronized void delete ()
 
 LocalSearchOperatorState ()
 
void SetCurrentDomainInjectiveAndKeepInverseValues (int max_value)
 
long CandidateValue (long index)
 
long CommittedValue (long index)
 
long CheckPointValue (long index)
 
void SetCandidateValue (long index, long value)
 
boolean CandidateIsActive (long index)
 
void SetCandidateActive (long index, boolean active)
 
void Commit ()
 
void CheckPoint ()
 
void Revert (boolean only_incremental)
 
long[] CandidateIndicesChanged ()
 
long[] IncrementalIndicesChanged ()
 
void Resize (int size)
 
long CandidateInverseValue (long value)
 
long CommittedInverseValue (long value)
 

Protected Member Functions

 LocalSearchOperatorState (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (LocalSearchOperatorState obj)
 
static long swigRelease (LocalSearchOperatorState obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Definition at line 11 of file LocalSearchOperatorState.java.

Constructor & Destructor Documentation

◆ LocalSearchOperatorState() [1/2]

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

Definition at line 15 of file LocalSearchOperatorState.java.

◆ LocalSearchOperatorState() [2/2]

com.google.ortools.constraintsolver.LocalSearchOperatorState.LocalSearchOperatorState ( )

Definition at line 51 of file LocalSearchOperatorState.java.

Member Function Documentation

◆ CandidateIndicesChanged()

long[] com.google.ortools.constraintsolver.LocalSearchOperatorState.CandidateIndicesChanged ( )

Definition at line 99 of file LocalSearchOperatorState.java.

◆ CandidateInverseValue()

long com.google.ortools.constraintsolver.LocalSearchOperatorState.CandidateInverseValue ( long value)

Definition at line 111 of file LocalSearchOperatorState.java.

◆ CandidateIsActive()

boolean com.google.ortools.constraintsolver.LocalSearchOperatorState.CandidateIsActive ( long index)

Definition at line 79 of file LocalSearchOperatorState.java.

◆ CandidateValue()

long com.google.ortools.constraintsolver.LocalSearchOperatorState.CandidateValue ( long index)

Returns the value in the current assignment of the variable of given
index.

Definition at line 63 of file LocalSearchOperatorState.java.

◆ CheckPoint()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.CheckPoint ( )

Definition at line 91 of file LocalSearchOperatorState.java.

◆ CheckPointValue()

long com.google.ortools.constraintsolver.LocalSearchOperatorState.CheckPointValue ( long index)

Definition at line 71 of file LocalSearchOperatorState.java.

◆ Commit()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.Commit ( )

Definition at line 87 of file LocalSearchOperatorState.java.

◆ CommittedInverseValue()

long com.google.ortools.constraintsolver.LocalSearchOperatorState.CommittedInverseValue ( long value)

Definition at line 115 of file LocalSearchOperatorState.java.

◆ CommittedValue()

long com.google.ortools.constraintsolver.LocalSearchOperatorState.CommittedValue ( long index)

Definition at line 67 of file LocalSearchOperatorState.java.

◆ delete()

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

Definition at line 41 of file LocalSearchOperatorState.java.

◆ finalize()

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

Definition at line 37 of file LocalSearchOperatorState.java.

◆ getCPtr()

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

Definition at line 20 of file LocalSearchOperatorState.java.

◆ IncrementalIndicesChanged()

long[] com.google.ortools.constraintsolver.LocalSearchOperatorState.IncrementalIndicesChanged ( )

Definition at line 103 of file LocalSearchOperatorState.java.

◆ Resize()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.Resize ( int size)

Definition at line 107 of file LocalSearchOperatorState.java.

◆ Revert()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.Revert ( boolean only_incremental)

Definition at line 95 of file LocalSearchOperatorState.java.

◆ SetCandidateActive()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.SetCandidateActive ( long index,
boolean active )

Definition at line 83 of file LocalSearchOperatorState.java.

◆ SetCandidateValue()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.SetCandidateValue ( long index,
long value )

Definition at line 75 of file LocalSearchOperatorState.java.

◆ SetCurrentDomainInjectiveAndKeepInverseValues()

void com.google.ortools.constraintsolver.LocalSearchOperatorState.SetCurrentDomainInjectiveAndKeepInverseValues ( int max_value)

Definition at line 55 of file LocalSearchOperatorState.java.

◆ swigRelease()

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

Definition at line 24 of file LocalSearchOperatorState.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.constraintsolver.LocalSearchOperatorState.swigCMemOwn
protected

Definition at line 13 of file LocalSearchOperatorState.java.


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