![]() |
OR-Tools
9.6
|
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 |
| PathState | ( | int | num_nodes, |
| std::vector< int > | path_start, | ||
| std::vector< int > | path_end | ||
| ) |
Definition at line 2542 of file local_search.cc.
| PathState::ChainRange Chains | ( | int | path | ) | const |
Definition at line 2579 of file local_search.cc.
|
inline |
Definition at line 3108 of file constraint_solveri.h.
|
inline |
Definition at line 3106 of file constraint_solveri.h.
| void ChangeLoops | ( | const std::vector< int > & | new_loops | ) |
Definition at line 2602 of file local_search.cc.
|
inline |
Definition at line 3124 of file constraint_solveri.h.
| void ChangePath | ( | int | path, |
| const std::vector< ChainBounds > & | chains | ||
| ) |
Definition at line 2593 of file local_search.cc.
| void Commit | ( | ) |
Definition at line 2609 of file local_search.cc.
|
inline |
Definition at line 3079 of file constraint_solveri.h.
|
inline |
Definition at line 3080 of file constraint_solveri.h.
|
inline |
Definition at line 3096 of file constraint_solveri.h.
|
inline |
Definition at line 3145 of file constraint_solveri.h.
| PathState::NodeRange Nodes | ( | int | path | ) | const |
Definition at line 2586 of file local_search.cc.
|
inline |
Definition at line 3090 of file constraint_solveri.h.
|
inline |
Definition at line 3092 of file constraint_solveri.h.
|
inline |
Definition at line 3101 of file constraint_solveri.h.
| void Revert | ( | ) |
Definition at line 2618 of file local_search.cc.
|
inline |
Definition at line 3144 of file constraint_solveri.h.
|
inline |
Definition at line 3094 of file constraint_solveri.h.