C++ Reference
C++ Reference: Graph
PruningHamiltonianSolver< CostType, CostFunction >
Detailed Description
template<typename CostType, typename CostFunction>
class operations_research::PruningHamiltonianSolver< CostType, CostFunction >
Definition at line 876 of file hamiltonian_path.h.
Public Types | |
typedef uint32 | Integer |
typedef Set< Integer > | NodeSet |
Public Member Functions | |
PruningHamiltonianSolver (CostFunction cost) | |
PruningHamiltonianSolver (int num_nodes, CostFunction cost) | |
CostType | HamiltonianCost (int end_node) |
Member Typedef Documentation
◆ Integer
typedef uint32 Integer |
Definition at line 892 of file hamiltonian_path.h.
◆ NodeSet
Definition at line 893 of file hamiltonian_path.h.
Constructor & Destructor Documentation
◆ PruningHamiltonianSolver() [1/2]
|
explicit |
Definition at line 931 of file hamiltonian_path.h.
◆ PruningHamiltonianSolver() [2/2]
PruningHamiltonianSolver | ( | int | num_nodes, |
CostFunction | cost | ||
) |
Definition at line 936 of file hamiltonian_path.h.
Member Function Documentation
◆ HamiltonianCost()
CostType HamiltonianCost | ( | int | end_node | ) |
Definition at line 1005 of file hamiltonian_path.h.
The documentation for this class was generated from the following file: