![]() |
OR-Tools
9.6
|
Definition at line 454 of file hamiltonian_path.h.
Public Types | |
| typedef uint32_t | Integer |
| typedef Set< Integer > | NodeSet |
Public Member Functions | |
| HamiltonianPathSolver (CostFunction cost) | |
| HamiltonianPathSolver (int num_nodes, CostFunction cost) | |
| void | ChangeCostMatrix (CostFunction cost) |
| void | ChangeCostMatrix (int num_nodes, CostFunction cost) |
| CostType | HamiltonianCost (int end_node) |
| std::vector< int > | HamiltonianPath (int end_node) |
| int | BestHamiltonianPathEndNode () |
| void | HamiltonianPath (std::vector< PathNodeIndex > *path) |
| CostType | TravelingSalesmanCost () |
| std::vector< int > | TravelingSalesmanPath () |
| void | TravelingSalesmanPath (std::vector< PathNodeIndex > *path) |
| bool | IsRobust () |
| bool | VerifiesTriangleInequality () |
| typedef uint32_t Integer |
Definition at line 476 of file hamiltonian_path.h.
Definition at line 477 of file hamiltonian_path.h.
|
explicit |
Definition at line 607 of file hamiltonian_path.h.
| HamiltonianPathSolver | ( | int | num_nodes, |
| CostFunction | cost | ||
| ) |
Definition at line 612 of file hamiltonian_path.h.
| int BestHamiltonianPathEndNode |
Definition at line 832 of file hamiltonian_path.h.
| void ChangeCostMatrix | ( | CostFunction | cost | ) |
Definition at line 628 of file hamiltonian_path.h.
| void ChangeCostMatrix | ( | int | num_nodes, |
| CostFunction | cost | ||
| ) |
Definition at line 634 of file hamiltonian_path.h.
| CostType HamiltonianCost | ( | int | end_node | ) |
Definition at line 838 of file hamiltonian_path.h.
| std::vector< int > HamiltonianPath | ( | int | end_node | ) |
Definition at line 845 of file hamiltonian_path.h.
| void HamiltonianPath | ( | std::vector< PathNodeIndex > * | path | ) |
Definition at line 852 of file hamiltonian_path.h.
| bool IsRobust |
Definition at line 786 of file hamiltonian_path.h.
| CostType TravelingSalesmanCost |
Definition at line 859 of file hamiltonian_path.h.
| std::vector< int > TravelingSalesmanPath |
Definition at line 866 of file hamiltonian_path.h.
| void TravelingSalesmanPath | ( | std::vector< PathNodeIndex > * | path | ) |
Definition at line 872 of file hamiltonian_path.h.
| bool VerifiesTriangleInequality |
Definition at line 811 of file hamiltonian_path.h.