Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ShortestPathAlgorithms.h File Reference

Declaration of several shortest path algorithms. More...

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Functions

void ogdf::bfs_SPAP (const Graph &G, NodeArray< NodeArray< double > > &distance, double edgeCosts)
 Computes all-pairs shortest paths in G using breadth-first serach (BFS). More...
 
void ogdf::bfs_SPSS (node s, const Graph &G, NodeArray< double > &distanceArray, double edgeCosts)
 Computes single-source shortest paths from s in G using breadth-first search (BFS). More...
 
double ogdf::dijkstra_SPAP (const GraphAttributes &GA, NodeArray< NodeArray< double > > &shortestPathMatrix)
 Computes all-pairs shortest paths in GA using Dijkstra's algorithm. More...
 
void ogdf::dijkstra_SPAP (const Graph &G, NodeArray< NodeArray< double > > &shortestPathMatrix, const EdgeArray< double > &edgeCosts)
 Computes all-pairs shortest paths in graph G using Dijkstra's algorithm. More...
 
void ogdf::dijkstra_SPSS (node s, const Graph &G, NodeArray< double > &shortestPathMatrix, const EdgeArray< double > &edgeCosts)
 Computes single-source shortest paths from node s in G using Disjkstra's algorithm. More...
 
void ogdf::floydWarshall_SPAP (NodeArray< NodeArray< double > > &shortestPathMatrix, const Graph &G)
 Computes all-pairs shortest paths in graph G using Floyd-Warshall's algorithm. More...
 

Detailed Description

Declaration of several shortest path algorithms.

Author
Mark Ortmann, University of Konstanz
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file ShortestPathAlgorithms.h.