Google OR-Tools: operations_research::ShortestPathOnAlternatives Class Reference
Definition at line 109 of file routing_neighborhoods.h.
#include <routing_neighborhoods.h>
Public Member Functions | |
| ShortestPathOnAlternatives (int num_nodes, std::vector< std::vector< int64_t > > alternative_sets, RoutingTransitCallback2 arc_evaluator) | |
| bool | HasAlternatives (int node) const |
| absl::Span< const int64_t > | GetShortestPath (int64_t source, int64_t sink, absl::Span< const int64_t > chain) |
| operations_research::ShortestPathOnAlternatives::ShortestPathOnAlternatives | ( | int | num_nodes, |
| std::vector< std::vector< int64_t > > | alternative_sets, | ||
| RoutingTransitCallback2 | arc_evaluator ) |
◆ GetShortestPath()
| absl::Span< const int64_t > operations_research::ShortestPathOnAlternatives::GetShortestPath | ( | int64_t | source, |
| int64_t | sink, | ||
| absl::Span< const int64_t > | chain ) |
◆ HasAlternatives()
| bool operations_research::ShortestPathOnAlternatives::HasAlternatives | ( | int | node | ) | const |
The documentation for this class was generated from the following files:
- ortools/constraint_solver/routing_neighborhoods.h
- ortools/constraint_solver/routing_neighborhoods.cc