![]() |
OR-Tools
9.3
|
Definition at line 3061 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 |
| PathState | ( | int | num_nodes, |
| std::vector< int > | path_start, | ||
| std::vector< int > | path_end | ||
| ) |
Definition at line 2568 of file local_search.cc.
| PathState::ChainRange Chains | ( | int | path | ) | const |
Definition at line 2605 of file local_search.cc.
|
inline |
Definition at line 3111 of file constraint_solveri.h.
|
inline |
Definition at line 3109 of file constraint_solveri.h.
| void ChangeLoops | ( | const std::vector< int > & | new_loops | ) |
Definition at line 2628 of file local_search.cc.
|
inline |
Definition at line 3127 of file constraint_solveri.h.
| void ChangePath | ( | int | path, |
| const std::vector< ChainBounds > & | chains | ||
| ) |
Definition at line 2619 of file local_search.cc.
| void Commit | ( | ) |
Definition at line 2635 of file local_search.cc.
|
inline |
Definition at line 3082 of file constraint_solveri.h.
|
inline |
Definition at line 3083 of file constraint_solveri.h.
|
inline |
Definition at line 3099 of file constraint_solveri.h.
|
inline |
Definition at line 3148 of file constraint_solveri.h.
| PathState::NodeRange Nodes | ( | int | path | ) | const |
Definition at line 2612 of file local_search.cc.
|
inline |
Definition at line 3093 of file constraint_solveri.h.
|
inline |
Definition at line 3095 of file constraint_solveri.h.
|
inline |
Definition at line 3104 of file constraint_solveri.h.
| void Revert | ( | ) |
Definition at line 2644 of file local_search.cc.
|
inline |
Definition at line 3147 of file constraint_solveri.h.
|
inline |
Definition at line 3097 of file constraint_solveri.h.