18 #ifndef OR_TOOLS_GRAPH_SHORTESTPATHS_H_ 19 #define OR_TOOLS_GRAPH_SHORTESTPATHS_H_ 26 #include "ortools/base/integral_types.h" 27 #include "ortools/base/macros.h" 38 std::function<int64(
int,
int)> graph,
39 int64 disconnected_distance, std::vector<int>* nodes);
48 std::function<int64(
int,
int)> graph,
49 int64 disconnected_distance,
50 std::vector<int>* nodes);
61 std::function<int64(
int,
int)> graph,
62 int64 disconnected_distance,
63 std::vector<int>* nodes);
75 std::function<int64(
int,
int)> graph,
76 std::function<int64(
int)> heuristic,
77 int64 disconnected_distance, std::vector<int>* nodes);
81 #endif // OR_TOOLS_GRAPH_SHORTESTPATHS_H_ bool AStarShortestPath(int node_count, int start_node, int end_node, std::function< int64(int, int)> graph, std::function< int64(int)> heuristic, int64 disconnected_distance, std::vector< int > *nodes)
A* Shortest path with function based description of the graph.
bool BellmanFordShortestPath(int node_count, int start_node, int end_node, std::function< int64(int, int)> graph, int64 disconnected_distance, std::vector< int > *nodes)
Bellman-Ford Shortest path with callback-based description of the graph.
bool DijkstraShortestPath(int node_count, int start_node, int end_node, std::function< int64(int, int)> graph, int64 disconnected_distance, std::vector< int > *nodes)
Dijsktra Shortest path with callback based description of the graph.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
bool StableDijkstraShortestPath(int node_count, int start_node, int end_node, std::function< int64(int, int)> graph, int64 disconnected_distance, std::vector< int > *nodes)
Stable version of the Dijsktra Shortest path with callback based description of the graph.