OR-Tools  9.6
LocalSearchOperatorState

Detailed Description

Definition at line 926 of file constraint_solveri.h.

Public Member Functions

 LocalSearchOperatorState ()
 
void SetCurrentDomainInjectiveAndKeepInverseValues (int max_value)
 
int64_t CandidateValue (int64_t index) const
 Returns the value in the current assignment of the variable of given index. More...
 
int64_t CommittedValue (int64_t index) const
 
int64_t CheckPointValue (int64_t index) const
 
void SetCandidateValue (int64_t index, int64_t value)
 
bool CandidateIsActive (int64_t index) const
 
void SetCandidateActive (int64_t index, bool active)
 
void Commit ()
 
void CheckPoint ()
 
void Revert (bool only_incremental)
 
const std::vector< int64_t > & CandidateIndicesChanged () const
 
const std::vector< int64_t > & IncrementalIndicesChanged () const
 
void Resize (int size)
 
int64_t CandidateInverseValue (int64_t value) const
 
int64_t CommittedInverseValue (int64_t value) const
 

Constructor & Destructor Documentation

◆ LocalSearchOperatorState()

Definition at line 928 of file constraint_solveri.h.

Member Function Documentation

◆ CandidateIndicesChanged()

const std::vector<int64_t>& CandidateIndicesChanged ( ) const
inline

Definition at line 998 of file constraint_solveri.h.

◆ CandidateInverseValue()

int64_t CandidateInverseValue ( int64_t  value) const
inline

Definition at line 1015 of file constraint_solveri.h.

◆ CandidateIsActive()

bool CandidateIsActive ( int64_t  index) const
inline

Definition at line 956 of file constraint_solveri.h.

◆ CandidateValue()

int64_t CandidateValue ( int64_t  index) const
inline

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

Definition at line 938 of file constraint_solveri.h.

◆ CheckPoint()

void CheckPoint ( )
inline

Definition at line 981 of file constraint_solveri.h.

◆ CheckPointValue()

int64_t CheckPointValue ( int64_t  index) const
inline

Definition at line 945 of file constraint_solveri.h.

◆ Commit()

void Commit ( )
inline

Definition at line 968 of file constraint_solveri.h.

◆ CommittedInverseValue()

int64_t CommittedInverseValue ( int64_t  value) const
inline

Definition at line 1018 of file constraint_solveri.h.

◆ CommittedValue()

int64_t CommittedValue ( int64_t  index) const
inline

Definition at line 942 of file constraint_solveri.h.

◆ IncrementalIndicesChanged()

const std::vector<int64_t>& IncrementalIndicesChanged ( ) const
inline

Definition at line 1001 of file constraint_solveri.h.

◆ Resize()

void Resize ( int  size)
inline

Definition at line 1005 of file constraint_solveri.h.

◆ Revert()

void Revert ( bool  only_incremental)
inline

Definition at line 983 of file constraint_solveri.h.

◆ SetCandidateActive()

void SetCandidateActive ( int64_t  index,
bool  active 
)
inline

Definition at line 959 of file constraint_solveri.h.

◆ SetCandidateValue()

void SetCandidateValue ( int64_t  index,
int64_t  value 
)
inline

Definition at line 948 of file constraint_solveri.h.

◆ SetCurrentDomainInjectiveAndKeepInverseValues()

void SetCurrentDomainInjectiveAndKeepInverseValues ( int  max_value)
inline

Definition at line 930 of file constraint_solveri.h.


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