|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
43 template<
class E1,
class E2>
82 int width()
const {
return m_w; }
96 _int_set() : m_array(nullptr), m_length(0), m_index(0) { }
98 explicit _int_set(
int len) : m_array(nullptr), m_length(len), m_index(len) {
100 m_array =
new int[m_length];
108 if ((m_length = len) == 0) {
111 m_array =
new int[m_length];
120 void insert(
int x) { m_array[--m_index] = x; }
122 bool ready()
const {
return m_index == 0; }
138 void removeTransitiveEdges(
Graph& G);
The namespace for all OGDF objects.
Includes declaration of graph class.
Declaration of interface for ranking algorithms.
Tuples of two elements (2-tuples).
int width() const
Get for the with.
Interface of algorithms for computing a node ranking.
void width(int w)
Set for the with.
Declaration of interface for acyclic subgraph algorithms.
Doubly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
constexpr double pi
The constant .
NodeArray< _int_set > m_s
The coffman graham ranking algorithm.
std::unique_ptr< AcyclicSubgraphModule > m_subgraph
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Base class of algorithms for computing a maximal acyclic subgraph.
int operator[](int i) const
Class for the representation of nodes.