Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

STNumbering.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/NodeArray.h>
35 
36 namespace ogdf {
37 
39 
55 OGDF_EXPORT int computeSTNumbering(const Graph &G, NodeArray<int> &numbering,
56  node s = nullptr, node t = nullptr,
57  bool randomized = false);
58 
60 
66 OGDF_EXPORT bool isSTNumbering(const Graph &G, NodeArray<int> &st_no, int max);
67 
68 }
int computeSTNumbering(const Graph &G, NodeArray< int > &numbering, node s=nullptr, node t=nullptr, bool randomized=false)
Computes an st-Numbering of G.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
NodeElement * node
The type of nodes.
Definition: Graph_d.h:63
Declaration and implementation of NodeArray class.
The namespace for all OGDF objects.
bool isSTNumbering(const Graph &G, NodeArray< int > &st_no, int max)
Tests, whether a numbering of the nodes is an st-numbering.