#include <algorithm>
#include <iterator>
#include <limits>
#include <queue>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/base/optimization.h"
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/strings/str_join.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/graph/bounded_dijkstra.h"
#include "ortools/graph/ebert_graph.h"
#include "ortools/graph/shortest_paths.h"
Go to the source code of this file.
|
template<class GraphType > |
KShortestPaths | operations_research::YenKShortestPaths (const GraphType &graph, const std::vector< PathDistance > &arc_lengths, NodeIndex source, NodeIndex destination, unsigned k) |
|
template<class GraphType > |
ArcIndex | operations_research::internal::FindArcIndex (const GraphType &graph, const NodeIndex source, const NodeIndex destination) |
|
template<class GraphType > |
std::tuple< std::vector< NodeIndex >, PathDistance > | operations_research::internal::ComputeShortestPath (const GraphType &graph, const std::vector< PathDistance > &arc_lengths, const NodeIndex source, const NodeIndex destination) |
|
template<class GraphType > |
PathDistance | operations_research::internal::ComputePathLength (const GraphType &graph, const absl::Span< const PathDistance > arc_lengths, const absl::Span< const NodeIndex > path) |
| Computes the total length of a path.
|
|