OR-Tools  8.0
PathState

Detailed Description

Definition at line 3057 of file constraint_solveri.h.

Classes

class  Chain
 
class  ChainRange
 
class  NodeRange
 

Public Member Functions

 PathState (int num_nodes, std::vector< int > path_start, std::vector< int > path_end)
 
int NumNodes () const
 
int NumPaths () const
 
int Start (int path) const
 
int End (int path) const
 
int Path (int node) const
 
const std::vector< std::pair< int, int > > & ChangedArcs () const
 
const std::vector< int > & ChangedPaths () const
 
ChainRange Chains (int path) const
 
NodeRange Nodes (int path) const
 
void ChangeNext (int node, int new_next)
 
void CutChains ()
 
void Commit ()
 
void Revert ()
 

Constructor & Destructor Documentation

◆ PathState()

PathState ( int  num_nodes,
std::vector< int >  path_start,
std::vector< int >  path_end 
)

Definition at line 2419 of file local_search.cc.

Member Function Documentation

◆ Chains()

PathState::ChainRange Chains ( int  path) const

Definition at line 2457 of file local_search.cc.

◆ ChangedArcs()

const std::vector<std::pair<int, int> >& ChangedArcs ( ) const
inline

Definition at line 3095 of file constraint_solveri.h.

◆ ChangedPaths()

const std::vector<int>& ChangedPaths ( ) const
inline

Definition at line 3100 of file constraint_solveri.h.

◆ ChangeNext()

void ChangeNext ( int  node,
int  new_next 
)
inline

Definition at line 3110 of file constraint_solveri.h.

◆ Commit()

void Commit ( )

Definition at line 2557 of file local_search.cc.

◆ CutChains()

void CutChains ( )

Definition at line 2471 of file local_search.cc.

◆ End()

int End ( int  path) const
inline

Definition at line 3085 of file constraint_solveri.h.

◆ Nodes()

PathState::NodeRange Nodes ( int  path) const

Definition at line 2464 of file local_search.cc.

◆ NumNodes()

int NumNodes ( ) const
inline

Definition at line 3079 of file constraint_solveri.h.

◆ NumPaths()

int NumPaths ( ) const
inline

Definition at line 3081 of file constraint_solveri.h.

◆ Path()

int Path ( int  node) const
inline

Definition at line 3090 of file constraint_solveri.h.

◆ Revert()

void Revert ( )

Definition at line 2565 of file local_search.cc.

◆ Start()

int Start ( int  path) const
inline

Definition at line 3083 of file constraint_solveri.h.


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