Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

ShortestPathWithBFM.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 namespace ogdf {
38 
40 
44 {
45 public:
47 
48  // computes shortest paths
49  // Precond.:
50  //
51  // returns false iff the graph contains a negative cycle
52  virtual bool call(
53  const Graph &G, // directed graph
54  const node s, // source node
55  const EdgeArray<int> &length, // length of an edge
56  NodeArray<int> &d, // contains shortest path distances after call
58  ) override;
59 };
60 
61 }
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Declaration of base class of shortest path algorithms including some useful functions dealing with sh...
Computes single-source shortest-paths with Bellman-Ford-Moore&#39;s algorithm.
constexpr double pi
The constant .
Definition: Math.h:62
Class for the representation of nodes.
Definition: Graph_d.h:169
The namespace for all OGDF objects.