![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 458 of file hamiltonian_path.h.
#include <hamiltonian_path.h>
Public Types | |
| using | Integer = uint32_t |
| using | NodeSet = Set<Integer> |
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 () |
| using operations_research::HamiltonianPathSolver< CostType, CostFunction >::Integer = uint32_t |
Definition at line 480 of file hamiltonian_path.h.
| using operations_research::HamiltonianPathSolver< CostType, CostFunction >::NodeSet = Set<Integer> |
Definition at line 481 of file hamiltonian_path.h.
|
explicit |
Definition at line 611 of file hamiltonian_path.h.
| operations_research::HamiltonianPathSolver< CostType, CostFunction >::HamiltonianPathSolver | ( | int | num_nodes, |
| CostFunction | cost ) |
Definition at line 616 of file hamiltonian_path.h.
| int operations_research::HamiltonianPathSolver< CostType, CostFunction >::BestHamiltonianPathEndNode | ( | ) |
Definition at line 836 of file hamiltonian_path.h.
| void operations_research::HamiltonianPathSolver< CostType, CostFunction >::ChangeCostMatrix | ( | CostFunction | cost | ) |
Definition at line 632 of file hamiltonian_path.h.
| void operations_research::HamiltonianPathSolver< CostType, CostFunction >::ChangeCostMatrix | ( | int | num_nodes, |
| CostFunction | cost ) |
Definition at line 638 of file hamiltonian_path.h.
| CostType operations_research::HamiltonianPathSolver< CostType, CostFunction >::HamiltonianCost | ( | int | end_node | ) |
Definition at line 842 of file hamiltonian_path.h.
| std::vector< int > operations_research::HamiltonianPathSolver< CostType, CostFunction >::HamiltonianPath | ( | int | end_node | ) |
Definition at line 849 of file hamiltonian_path.h.
| void operations_research::HamiltonianPathSolver< CostType, CostFunction >::HamiltonianPath | ( | std::vector< PathNodeIndex > * | path | ) |
Definition at line 856 of file hamiltonian_path.h.
| bool operations_research::HamiltonianPathSolver< CostType, CostFunction >::IsRobust | ( | ) |
Definition at line 790 of file hamiltonian_path.h.
| CostType operations_research::HamiltonianPathSolver< CostType, CostFunction >::TravelingSalesmanCost | ( | ) |
Definition at line 863 of file hamiltonian_path.h.
| std::vector< int > operations_research::HamiltonianPathSolver< CostType, CostFunction >::TravelingSalesmanPath | ( | ) |
Definition at line 870 of file hamiltonian_path.h.
| void operations_research::HamiltonianPathSolver< CostType, CostFunction >::TravelingSalesmanPath | ( | std::vector< PathNodeIndex > * | path | ) |
Definition at line 876 of file hamiltonian_path.h.
| bool operations_research::HamiltonianPathSolver< CostType, CostFunction >::VerifiesTriangleInequality | ( | ) |
Definition at line 815 of file hamiltonian_path.h.