C++ Reference
C++ Reference: Routing
PathState
Detailed Description
Definition at line 3058 of file constraint_solveri.h.
Classes | |
| class | Chain |
| struct | ChainBounds |
| class | ChainRange |
| class | NodeRange |
Public Member Functions | |
| int | CommittedIndex (int node) const |
| ChainBounds | CommittedPathRange (int path) const |
| 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< int > & | ChangedPaths () const |
| const std::vector< int > & | ChangedLoops () const |
| ChainRange | Chains (int path) const |
| NodeRange | Nodes (int path) const |
| void | ChangePath (int path, const std::vector< ChainBounds > &chains) |
| void | ChangePath (int path, const std::initializer_list< ChainBounds > &chains) |
| void | ChangeLoops (const std::vector< int > &new_loops) |
| void | Commit () |
| void | Revert () |
| void | SetInvalid () |
| bool | IsInvalid () const |
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 |
◆ ChangedLoops()
|
inline |
Definition at line 3108 of file constraint_solveri.h.
◆ ChangedPaths()
|
inline |
Definition at line 3106 of file constraint_solveri.h.
◆ ChangeLoops()
| void ChangeLoops | ( | const std::vector< int > & | new_loops | ) |
◆ ChangePath() [1/2]
|
inline |
Definition at line 3124 of file constraint_solveri.h.
◆ ChangePath() [2/2]
| void ChangePath | ( | int | path, |
| const std::vector< ChainBounds > & | chains | ||
| ) |
◆ Commit()
| void Commit | ( | ) |
◆ CommittedIndex()
|
inline |
Definition at line 3079 of file constraint_solveri.h.
◆ CommittedPathRange()
|
inline |
Definition at line 3080 of file constraint_solveri.h.
◆ End()
|
inline |
Definition at line 3096 of file constraint_solveri.h.
◆ IsInvalid()
|
inline |
Definition at line 3145 of file constraint_solveri.h.
◆ Nodes()
| NodeRange Nodes | ( | int | path | ) | const |
◆ NumNodes()
|
inline |
Definition at line 3090 of file constraint_solveri.h.
◆ NumPaths()
|
inline |
Definition at line 3092 of file constraint_solveri.h.
◆ Path()
|
inline |
Definition at line 3101 of file constraint_solveri.h.
◆ Revert()
| void Revert | ( | ) |
◆ SetInvalid()
|
inline |
Definition at line 3144 of file constraint_solveri.h.
◆ Start()
|
inline |
Definition at line 3094 of file constraint_solveri.h.
The documentation for this class was generated from the following file: