![]() |
OR-Tools
9.6
|
Definition at line 292 of file hamiltonian_path.h.
Public Member Functions | |
| LatticeMemoryManager () | |
| void | Init (int max_card) |
| uint64_t | Offset (Set s, int node) const |
| uint64_t | BaseOffset (int card, Set s) const |
| uint64_t | OffsetDelta (int card, int added_node, int removed_node, int rank) const |
| void | SetValue (Set s, int node, CostType value) |
| void | SetValueAtOffset (uint64_t offset, CostType value) |
| CostType | Value (Set s, int node) const |
| CostType | ValueAtOffset (uint64_t offset) const |
|
inline |
Definition at line 294 of file hamiltonian_path.h.
|
inline |
Definition at line 408 of file hamiltonian_path.h.
| void Init | ( | int | max_card | ) |
Definition at line 358 of file hamiltonian_path.h.
| uint64_t Offset | ( | Set | s, |
| int | node | ||
| ) | const |
Definition at line 432 of file hamiltonian_path.h.
|
inline |
Definition at line 311 of file hamiltonian_path.h.
| void SetValue | ( | Set | s, |
| int | node, | ||
| CostType | value | ||
| ) |
Definition at line 444 of file hamiltonian_path.h.
|
inline |
Definition at line 324 of file hamiltonian_path.h.
| CostType Value | ( | Set | s, |
| int | node | ||
| ) | const |
Definition at line 438 of file hamiltonian_path.h.
|
inline |
Definition at line 334 of file hamiltonian_path.h.