Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::LatticeMemoryManager< Set, CostType > Class Template Reference

Detailed Description

template<typename Set, typename CostType>
class operations_research::LatticeMemoryManager< Set, CostType >

Definition at line 296 of file hamiltonian_path.h.

#include <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

Constructor & Destructor Documentation

◆ LatticeMemoryManager()

template<typename Set, typename CostType>
operations_research::LatticeMemoryManager< Set, CostType >::LatticeMemoryManager ( )
inline

Definition at line 298 of file hamiltonian_path.h.

Member Function Documentation

◆ BaseOffset()

template<typename Set, typename CostType>
uint64_t operations_research::LatticeMemoryManager< Set, CostType >::BaseOffset ( int card,
Set s ) const
inline

Definition at line 412 of file hamiltonian_path.h.

◆ Init()

template<typename Set, typename CostType>
void operations_research::LatticeMemoryManager< Set, CostType >::Init ( int max_card)

Definition at line 362 of file hamiltonian_path.h.

◆ Offset()

template<typename Set, typename CostType>
uint64_t operations_research::LatticeMemoryManager< Set, CostType >::Offset ( Set s,
int node ) const

Definition at line 436 of file hamiltonian_path.h.

◆ OffsetDelta()

template<typename Set, typename CostType>
uint64_t operations_research::LatticeMemoryManager< Set, CostType >::OffsetDelta ( int card,
int added_node,
int removed_node,
int rank ) const
inline

Definition at line 315 of file hamiltonian_path.h.

◆ SetValue()

template<typename Set, typename CostType>
void operations_research::LatticeMemoryManager< Set, CostType >::SetValue ( Set s,
int node,
CostType value )

Definition at line 448 of file hamiltonian_path.h.

◆ SetValueAtOffset()

template<typename Set, typename CostType>
void operations_research::LatticeMemoryManager< Set, CostType >::SetValueAtOffset ( uint64_t offset,
CostType value )
inline

Definition at line 328 of file hamiltonian_path.h.

◆ Value()

template<typename Set, typename CostType>
CostType operations_research::LatticeMemoryManager< Set, CostType >::Value ( Set s,
int node ) const

Definition at line 442 of file hamiltonian_path.h.

◆ ValueAtOffset()

template<typename Set, typename CostType>
CostType operations_research::LatticeMemoryManager< Set, CostType >::ValueAtOffset ( uint64_t offset) const
inline

Definition at line 338 of file hamiltonian_path.h.


The documentation for this class was generated from the following file: