58 return m_component.high()+1;
72 return m_component[i];
77 return m_adjComponents[v];
88 node vOrig = m_vOrig[v];
89 return (vOrig !=
nullptr) ? vOrig : m_vRep[v];
104 m_vOrig[vCopy] = vOriginal;
121 node vCopy = m_vCopy[vOrig];
122 if (vCopy ==
nullptr) {
124 m_vOrig[m_vCopy[vOrig] = vCopy] = vOrig;
Declaration of singly linked lists and iterators.
The parameterized class Array implements dynamic arrays of type E.
node representative(node v) const
int componentNumber(edge e) const
Data type for general directed graphs (adjacency list representation).
NodeArray< SList< int > > m_adjComponents
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Represents expansion graph of each biconnected component of a given digraph, i.e., each vertex v with in- and outdegree greater than 1 is expanded into two vertices x and y connected by an edge x->y such that all incoming edges are moved from v to x and all outgoing edges from v to y.
const SListPure< edge > & component(int i) const
void setComponentNumber(edge e, int i)
EdgeArray< edge > m_eOrig
EdgeArray< int > m_compNum
node original(node v) const
Dynamic arrays indexed with nodes.
Declaration and implementation of EdgeArray class.
NodeArray< node > m_vCopy
NodeArray< node > m_vOrig
const SList< int > & adjacentComponents(node v) const
Class for the representation of edges.
Class for the representation of nodes.
Declaration and implementation of NodeArray class.
The namespace for all OGDF objects.
Array< SListPure< edge > > m_component
void setOriginal(node vCopy, node vOriginal)
edge original(edge e) const