![]() |
OR-Tools
8.0
|
Definition at line 40 of file christofides.h.
Public Types | |
| enum | MatchingAlgorithm { MINIMUM_WEIGHT_MATCHING, MINIMUM_WEIGHT_MATCHING_WITH_MIP, MINIMAL_WEIGHT_MATCHING } |
Public Member Functions | |
| ChristofidesPathSolver (NodeIndex num_nodes, CostFunction costs) | |
| void | SetMatchingAlgorithm (MatchingAlgorithm matching) |
| CostType | TravelingSalesmanCost () |
| std::vector< NodeIndex > | TravelingSalesmanPath () |
|
strong |
| Enumerator | |
|---|---|
| MINIMUM_WEIGHT_MATCHING | |
| MINIMUM_WEIGHT_MATCHING_WITH_MIP | |
| MINIMAL_WEIGHT_MATCHING | |
Definition at line 42 of file christofides.h.
| ChristofidesPathSolver | ( | NodeIndex | num_nodes, |
| CostFunction | costs | ||
| ) |
Definition at line 212 of file christofides.h.
|
inline |
Definition at line 59 of file christofides.h.
| CostType TravelingSalesmanCost |
Definition at line 223 of file christofides.h.
| std::vector< NodeIndex > TravelingSalesmanPath |
Definition at line 233 of file christofides.h.