C++ Reference
C++ Reference: Graph
PruningHamiltonianSolver< CostType, CostFunction >
Detailed Description
template<typename CostType, typename CostFunction>
class operations_research::PruningHamiltonianSolver< CostType, CostFunction >
Definition at line 878 of file hamiltonian_path.h.
Public Types | |
| typedef uint32_t | 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_t Integer |
Definition at line 894 of file hamiltonian_path.h.
◆ NodeSet
Definition at line 895 of file hamiltonian_path.h.
Constructor & Destructor Documentation
◆ PruningHamiltonianSolver() [1/2]
|
explicit |
Definition at line 933 of file hamiltonian_path.h.
◆ PruningHamiltonianSolver() [2/2]
| PruningHamiltonianSolver | ( | int | num_nodes, |
| CostFunction | cost | ||
| ) |
Definition at line 938 of file hamiltonian_path.h.
Member Function Documentation
◆ HamiltonianCost()
| CostType HamiltonianCost | ( | int | end_node | ) |
Definition at line 1007 of file hamiltonian_path.h.
The documentation for this class was generated from the following file: