Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::LocalSearchOperatorState Class Reference

#include <constraint_solveri.h>

Public Member Functions

 LocalSearchOperatorState ()
 
void SetCurrentDomainInjectiveAndKeepInverseValues (int max_value)
 
int64_t CandidateValue (int64_t index) const
 
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
 

Detailed Description

Definition at line 941 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ LocalSearchOperatorState()

operations_research::LocalSearchOperatorState::LocalSearchOperatorState ( )
inline

Definition at line 943 of file constraint_solveri.h.

Member Function Documentation

◆ CandidateIndicesChanged()

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

Definition at line 1013 of file constraint_solveri.h.

◆ CandidateInverseValue()

int64_t operations_research::LocalSearchOperatorState::CandidateInverseValue ( int64_t value) const
inline

Definition at line 1030 of file constraint_solveri.h.

◆ CandidateIsActive()

bool operations_research::LocalSearchOperatorState::CandidateIsActive ( int64_t index) const
inline

Definition at line 971 of file constraint_solveri.h.

◆ CandidateValue()

int64_t operations_research::LocalSearchOperatorState::CandidateValue ( int64_t index) const
inline

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

Definition at line 953 of file constraint_solveri.h.

◆ CheckPoint()

void operations_research::LocalSearchOperatorState::CheckPoint ( )
inline

Definition at line 996 of file constraint_solveri.h.

◆ CheckPointValue()

int64_t operations_research::LocalSearchOperatorState::CheckPointValue ( int64_t index) const
inline

Definition at line 960 of file constraint_solveri.h.

◆ Commit()

void operations_research::LocalSearchOperatorState::Commit ( )
inline

Definition at line 983 of file constraint_solveri.h.

◆ CommittedInverseValue()

int64_t operations_research::LocalSearchOperatorState::CommittedInverseValue ( int64_t value) const
inline

Definition at line 1033 of file constraint_solveri.h.

◆ CommittedValue()

int64_t operations_research::LocalSearchOperatorState::CommittedValue ( int64_t index) const
inline

Definition at line 957 of file constraint_solveri.h.

◆ IncrementalIndicesChanged()

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

Definition at line 1016 of file constraint_solveri.h.

◆ Resize()

void operations_research::LocalSearchOperatorState::Resize ( int size)
inline

Definition at line 1020 of file constraint_solveri.h.

◆ Revert()

void operations_research::LocalSearchOperatorState::Revert ( bool only_incremental)
inline

Definition at line 998 of file constraint_solveri.h.

◆ SetCandidateActive()

void operations_research::LocalSearchOperatorState::SetCandidateActive ( int64_t index,
bool active )
inline

Definition at line 974 of file constraint_solveri.h.

◆ SetCandidateValue()

void operations_research::LocalSearchOperatorState::SetCandidateValue ( int64_t index,
int64_t value )
inline

Definition at line 963 of file constraint_solveri.h.

◆ SetCurrentDomainInjectiveAndKeepInverseValues()

void operations_research::LocalSearchOperatorState::SetCurrentDomainInjectiveAndKeepInverseValues ( int max_value)
inline

Definition at line 945 of file constraint_solveri.h.


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