C++ Reference
C++ Reference: Graph
LatticeMemoryManager< Set, CostType >
Detailed Description
template<typename Set, typename CostType>
class operations_research::LatticeMemoryManager< Set, CostType >
Definition at line 291 of file hamiltonian_path.h.
Public Member Functions | |
| LatticeMemoryManager () | |
| void | Init (int max_card) |
| uint64 | Offset (Set s, int node) const |
| uint64 | BaseOffset (int card, Set s) const |
| uint64 | OffsetDelta (int card, int added_node, int removed_node, int rank) const |
| void | SetValue (Set s, int node, CostType value) |
| void | SetValueAtOffset (uint64 offset, CostType value) |
| CostType | Value (Set s, int node) const |
| CostType | ValueAtOffset (uint64 offset) const |
Constructor & Destructor Documentation
◆ LatticeMemoryManager()
|
inline |
Definition at line 293 of file hamiltonian_path.h.
Member Function Documentation
◆ BaseOffset()
|
inline |
Definition at line 407 of file hamiltonian_path.h.
◆ Init()
| void Init | ( | int | max_card | ) |
Definition at line 357 of file hamiltonian_path.h.
◆ Offset()
| uint64 Offset | ( | Set | s, |
| int | node | ||
| ) | const |
Definition at line 431 of file hamiltonian_path.h.
◆ OffsetDelta()
|
inline |
Definition at line 310 of file hamiltonian_path.h.
◆ SetValue()
| void SetValue | ( | Set | s, |
| int | node, | ||
| CostType | value | ||
| ) |
Definition at line 443 of file hamiltonian_path.h.
◆ SetValueAtOffset()
|
inline |
Definition at line 323 of file hamiltonian_path.h.
◆ Value()
| CostType Value | ( | Set | s, |
| int | node | ||
| ) | const |
Definition at line 437 of file hamiltonian_path.h.
◆ ValueAtOffset()
|
inline |
Definition at line 333 of file hamiltonian_path.h.
The documentation for this class was generated from the following file: