Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_ALGORITHMS_FLOYD_WARHSHALL_HPP
2 #define GRAPH_ANALYSIS_ALGORITHMS_FLOYD_WARHSHALL_HPP
5 #include "../BaseGraph.hpp"
36 #endif // GRAPH_ANALYSIS_ALGORITHMS_FLOYD_WARHSHALL_HPP
static DistanceMatrix allShortestPaths(const BaseGraph::Ptr &graph, EdgeWeightFunction edgeWeightFunction, bool detectNegativeCycle=true)
Definition: FloydWarshall.cpp:23
function1< double, Edge::Ptr > EdgeWeightFunction
Definition: CorrelationClustering.hpp:16
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< BaseGraph > Ptr
Definition: BaseGraph.hpp:34
Implements Floyd-Warshall algorithm.
Definition: FloydWarshall.hpp:20
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
std::map< std::pair< Vertex::Ptr, Vertex::Ptr >, double > DistanceMatrix
Definition: DistanceMatrix.hpp:10