66 edge e(
int i)
const {
return m_ccInfo.e(i); }
69 node v(
int i)
const {
return m_ccInfo.v(i); }
72 int startEdge()
const {
return m_ccInfo.startEdge(m_currentCC); }
75 int stopEdge()
const {
return m_ccInfo.stopEdge(m_currentCC); }
edge e(int i) const
Returns the original edge with index i.
EdgeType typeOrig(edge e) const
Returns the type of original edge e.
EdgeArray< edge > m_eAuxCopy
PlanRepLight(const PlanRep &pr)
Creates a light-weight planarized representation.
Declaration of a base class for planar representations of graphs and cluster graphs.
int currentCC() const
Returns the index of the current connected component.
Dynamic arrays indexed with edges.
Light-weight version of a planarized representation, associated with a PlanRep.
EdgeType typeOrig(edge eOrig) const
int stopEdge() const
Returns the index of (one past) the last edge in this connected component.
int numberOfCCs() const
Returns the number of connected components in the original graph.
EdgeArray< edge > m_eOrig
The corresponding edge in the original graph.
EdgeType
The type of edges (only used in derived classes).
void initCC(int cc)
Initializes the planarized representation for connected component cc.
Class for the representation of edges.
Copies of graphs supporting edge splitting.
Class for the representation of nodes.
node v(int i) const
Returns the original node with index i.
EdgeType typeOf(edge e) const
const CCsInfo & ccInfo() const
Returns the connected component info structure.
The namespace for all OGDF objects.
int startEdge() const
Returns the index of the first edge in this connected component.
Planarized representations (of a connected component) of a graph.