69 return m_originalNode[v];
75 return m_originalFace[v];
81 return m_containsSource[v];
88 node v_T = checkForest();
90 gatherExternalFaces(m_T,
nullptr,externalFaces);
96 return dfsFaceNodeOf(m_T,
nullptr,
102 return dfsFaceNodeOf(m_T,
nullptr,f,
nullptr);
138 int &nInternalVertices);
144 void gatherExternalFaces(
151 node dfsStAugmentation(
158 node dfsStAugmentation(
face originalFace(node v) const
returns the face in E corresponding to node v in the face-sink graph, 0 if v corresponds to a sink-sw...
Declaration of singly linked lists and iterators.
FaceSinkGraph()
default constructor (dummy)
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
adjEntry adjSource() const
Returns the corresponding adjacancy entry at source node.
bool containsSource(node v) const
Combinatorial embeddings of planar graphs.
node originalNode(node v) const
returns the sink-switch in G corresponding to node v in the face-sink graph, 0 if v corresponds to a ...
node m_T
representative of unique tree T
const Graph & originalGraph() const
return a reference to the original graph G
declaration and implementation of FaceArray class
Declaration of CombinatorialEmbedding and face.
Singly linked lists (maintaining the length of the list).
const ConstCombinatorialEmbedding & originalEmbedding() const
returns a reference to the embedding E of the original graph G
Dynamic arrays indexed with faces of a combinatorial embedding.
NodeArray< bool > m_containsSource
contains face node the source ?
node m_source
the single source
Doubly linked lists (maintaining the length of the list).
Faces in a combinatorial embedding.
Class for the representation of edges.
Class for the representation of nodes.
Declaration and implementation of NodeArray class.
const ConstCombinatorialEmbedding * m_pE
associated embedding of graph G
NodeArray< face > m_originalFace
original face in E
NodeArray< node > m_originalNode
original node in G
The namespace for all OGDF objects.
adjEntry adjTarget() const
Returns the corresponding adjacancy entry at target node.
node possibleExternalFaces(SList< face > &externalFaces)
returns the list of faces f in E such that there exists an upward-planar drawing realizing E with f a...