74 node vOrig = m_vOrig[v];
75 return (vOrig !=
nullptr) ? vOrig : m_vRep[v];
100 node vCopy = m_vCopy[vOrig];
101 if (vCopy ==
nullptr) {
103 m_vOrig[m_vCopy[vOrig] = vCopy] = vOrig;
Declaration and implementation of Array class and Array algorithms.
Includes declaration of graph class.
Declaration of singly linked lists and iterators.
Basic declarations, included by all source files.
The parameterized class Array implements dynamic arrays of type E.
Class for the representation of edges.
Represents expansion graph of each biconnected component of a given digraph, i.e.,...
void setOriginal(node vCopy, node vOriginal)
Array< SListPure< edge > > m_component
ExpansionGraph(const Graph &G)
const SList< int > & adjacentComponents(node v) const
node representative(node v) const
EdgeArray< int > m_compNum
node original(node v) const
void init(const Graph &G)
EdgeArray< edge > m_eOrig
void setComponentNumber(edge e, int i)
NodeArray< SList< int > > m_adjComponents
const SListPure< edge > & component(int i) const
edge original(edge e) const
int componentNumber(edge e) const
NodeArray< node > m_vOrig
NodeArray< node > m_vCopy
Data type for general directed graphs (adjacency list representation).
Class for the representation of nodes.
Singly linked lists (maintaining the length of the list).
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.