shortestpaths.h File Reference

Go to the source code of this file.

Namespaces

 operations_research
 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
 

Functions

bool operations_research::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. More...
 
bool operations_research::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. More...
 
bool operations_research::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. More...
 
bool operations_research::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. More...