68 os <<
"(" << c.
m_adj <<
")";
167 int numberOfSplittedNodes()
const;
185 bool isPseudoCrossing(
node v)
const;
188 int computeNumberOfCrossings()
const;
201 return m_nodesInCC.size();
217 return m_nodesInCC[i];
224 return m_nodesInCC[m_currentCC];
246 void unsplit(
edge eIn,
edge eOut)
override;
249 virtual void delEdge(
edge e)
override;
275 void insertEdgePathEmbedded(
294 void removeEdgePathEmbedded(
347 edge unsplitExpandNode(
362 edge unsplitExpandNode(
423 void removeSelfLoop(
edge e);
447 void resolvePseudoCrossing(
node v);
458 bool consistencyCheck()
const;
464 void prepareNodeSplit(
Declaration of singly linked lists and iterators.
Representation of a node split in a planarized expansion.
EdgeArray< NodeSplit * > m_eNodeSplit
node target() const
Returns the last node on the node split's insertion path.
The parameterized class Array implements dynamic arrays of type E.
ListConstIterator< edge > position(edge e) const
EdgeArray< edge > m_eOrig
The corresponding edge in the original graph.
Data type for general directed graphs (adjacency list representation).
NodeArray< bool > m_splittableOrig
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
ListIterator< NodeSplit > m_nsIterator
This node split's iterator in the list of all node splits.
const Graph & original() const
Returns a reference to the original graph.
NodeArray< node > m_vOrig
The corresponding node in the original graph.
Planarized representations (of a connected component) of a graph.
List< NodeSplit > & nodeSplits()
Returns the list of node splits.
Dynamic arrays indexed with edges.
node original(node v) const
Returns the original node of v, or 0 if v is a dummy.
Singly linked lists (maintaining the length of the list).
bool splittableOrig(node vOrig) const
Returns true iff vOrig is splittable.
int m_numCC
The number of components in the original graph.
NodeArray< ListIterator< node > > m_vIterator
The position of copy node in the list.
EdgeArray< edge > m_eAuxCopy
int m_currentCC
The index of the current component.
List< edge > m_path
The insertion path of the node split.
int numberOfNodeSplits() const
Returns the number of node splits.
const List< node > & nodesInCC(int i) const
Returns the list of (original) nodes in connected component i.
const List< node > & nodesInCC() const
Returns the list of (original) nodes in the current connected component.
Dynamic arrays indexed with nodes.
EdgeArray< List< edge > > m_eCopy
The corresponding list of edges in the graph copy.
int currentCC() const
Returns the index of the current connected component (-1 if not yet initialized). ...
Tuples of two elements (2-tuples).
EdgeArray< ListIterator< edge > > m_eIterator
The position of copy edge in the list.
NodeArray< List< node > > m_vCopy
The corresponding list of nodes in the graph copy.
Array< List< node > > m_nodesInCC
The list of original nodes in each component.
SList< adjEntry > m_partitionLeft
SList< adjEntry > m_partitionRight
Class for the representation of edges.
edge copy(edge eOrig) const
Returns the first edge in eOrig's insertion path.
Class for the representation of nodes.
const List< node > & expansion(node vOrig) const
Returns the list of copy nodes of vOrig.
NodeArray< bool > m_splittable
Encapsulates a pointer to a list element.
const Graph * m_pGraph
The original graph.
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.
bool splittable(node v) const
Returns true iff v is splittable.
Includes declaration of graph class.
edge originalEdge(edge e) const
Returns the original edge of e, or 0 if e has none (e.g., e belongs to a node split).
NodeSplit * nodeSplitOf(edge e) const
Returns the node split associated with e, or 0 if none (e.g., e belongs to an original edge)...
List< NodeSplit > m_nodeSplits
NodeSplit(ListIterator< NodeSplit > it)
Creates a node split and sets its iterator in the list of all node splits.
The namespace for all OGDF objects.
NodeSplit()
Creates an empty node split.
node source() const
Returns the first node on the node split's insertion path.
const List< edge > & chain(edge eOrig) const
Returns the insertion path of edge eOrig.
int numberOfCCs() const
Returns the number of connected components in the original graph.
Combinatorial embeddings of planar graphs with modification functionality.
node copy(node vOrig) const
Returns the first copy node of vOrig.
Class for adjacency list elements.
friend ostream & operator<<(ostream &os, const Crossing &c)