68 enum class CompType { bond, polygon, triconnected };
82 m_type = (m_edges.
size() >= 4) ? CompType::triconnected : CompType::polygon;
101 bool checkSepPair(
edge eVirt);
105 void splitMultiEdges();
113 m_TSTACK_h[++m_top] = h;
114 m_TSTACK_a[m_top] = a;
115 m_TSTACK_b[m_top] = b;
120 m_TSTACK_a[++m_top] = -1;
125 return m_TSTACK_a[m_top] != -1;
130 return m_component[m_numComp++];
149 void buildAcceptableAdjStruct (
const Graph& G);
151 void DFS2 (
const Graph& G);
155 void pathSearch (
const Graph& G,
node v);
160 void assembleTriconnectedComponents();
163 void printOs(
edge e);
168 return (m_HIGHPT[v].empty()) ? 0 : m_HIGHPT[v].front();
node target() const
Returns the target node of the edge.
representation of a component
The parameterized class Array implements dynamic arrays of type E.
void TSTACK_pushEOS()
push end-of-stack marker on TSTACK
iterator pushBack(const E &x)
Adds element x at the end of the list.
Data type for general directed graphs (adjacency list representation).
EdgeType
type of edges with respect to palm tree
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
bool m_newPath
true iff we start a new path
Array< node > m_NODEAT
node with number i
EdgeArray< ListIterator< edge > > m_IN_ADJ
pointer to element in adjacency list containing e
CompStruct & newComp(CompType t)
create a new empty component of type t
GraphCopySimple * m_pGC
copy of G containing also virtual edges
int high(node v)
returns high(v) value
int * m_TSTACK_h
stack of triples
Declaration and implementation of Array class and Array algorithms.
void finishTricOrPoly(edge e)
EdgeArray< EdgeType > m_TYPE
type of edge e
CompType
type of split-components / triconnected components
bool valid() const
Returns true iff the iterator points to an element.
Array< CompStruct > m_component
array of components
NodeArray< int > m_LOWPT1
void TSTACK_push(int h, int a, int b)
push a triple on TSTACK
NodeArray< int > m_NEWNUM
(second) dfs-number of v
Declaration and implementation of EdgeArray class.
ArrayBuffer< edge > m_ESTACK
stack of currently active edges
NodeArray< int > m_DEGREE
degree of v
Declaration of graph copy classes.
EdgeArray< bool > m_START
edge starts a path
Class for the representation of edges.
Copies of graphs with mapping between nodes and edges.
Class for the representation of nodes.
Declaration and implementation of NodeArray class.
Encapsulates a pointer to a list element.
NodeArray< int > m_ND
number of descendants in palm tree
node m_start
start node of dfs traversal
NodeArray< List< edge > > m_A
adjacency list of v
CompStruct & operator<<(edge e)
int m_numComp
number of components
NodeArray< List< int > > m_HIGHPT
list of fronds entering v in the order they are visited
CompStruct & newComp()
create a new empty component
NodeArray< edge > m_TREE_ARC
tree arc entering v
int size() const
Returns the number of elements in the list.
NodeArray< int > m_LOWPT2
for every hyperedge e a minimal subcubic tree connecting all hypernodes incident with e together is a...
The namespace for all OGDF objects.
bool TSTACK_notEOS()
returns true iff end-of-stack marker is not on top of TSTACK
int m_numCount
counter for dfs-traversal
NodeArray< node > m_FATHER
father of v in palm tree
EdgeArray< ListIterator< int > > m_IN_HIGH
pointer to element in HIGHPT list containing e
NodeArray< int > m_NUMBER
(first) dfs-number of v
realizes Hopcroft/Tarjan algorithm for finding the triconnected components of a biconnected multi-gra...