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()
|
inline |
Definition at line 3077 of file constraint_solveri.h.
◆ ChangedPaths()
|
inline |
Definition at line 3082 of file constraint_solveri.h.
◆ ChangeNext()
|
inline |
Definition at line 3092 of file constraint_solveri.h.
◆ Commit()
void Commit | ( | ) |
◆ CutChains()
void CutChains | ( | ) |
◆ End()
|
inline |
Definition at line 3067 of file constraint_solveri.h.
◆ Nodes()
NodeRange Nodes | ( | int | path | ) | const |
◆ NumNodes()
|
inline |
Definition at line 3061 of file constraint_solveri.h.
◆ NumPaths()
|
inline |
Definition at line 3063 of file constraint_solveri.h.
◆ Path()
|
inline |
Definition at line 3072 of file constraint_solveri.h.
◆ Revert()
void Revert | ( | ) |
◆ Start()
|
inline |
Definition at line 3065 of file constraint_solveri.h.
The documentation for this class was generated from the following file: