C++ Reference

C++ Reference: Routing

PathState

Detailed Description

Definition at line 3039 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 
)

Member Function Documentation

◆ Chains()

ChainRange Chains ( int  path) const

◆ ChangedArcs()

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

Definition at line 3077 of file constraint_solveri.h.

◆ ChangedPaths()

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

Definition at line 3082 of file constraint_solveri.h.

◆ ChangeNext()

void ChangeNext ( int  node,
int  new_next 
)
inline

Definition at line 3092 of file constraint_solveri.h.

◆ Commit()

void Commit ( )

◆ CutChains()

void CutChains ( )

◆ End()

int End ( int  path) const
inline

Definition at line 3067 of file constraint_solveri.h.

◆ Nodes()

NodeRange Nodes ( int  path) const

◆ NumNodes()

int NumNodes ( ) const
inline

Definition at line 3061 of file constraint_solveri.h.

◆ NumPaths()

int NumPaths ( ) const
inline

Definition at line 3063 of file constraint_solveri.h.

◆ Path()

int Path ( int  node) const
inline

Definition at line 3072 of file constraint_solveri.h.

◆ Revert()

void Revert ( )

◆ Start()

int Start ( int  path) const
inline

Definition at line 3065 of file constraint_solveri.h.


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