122 return m_ears[k][0]->
twin();
130 return m_ears[k][m_ears[k].size()-1];
136 return m_ears[k][i+1];
146 return m_ears[k][i+1]->theNode();
152 return m_ears.size();
158 return m_ears[k].size() - 1;
163 return m_ears[k].size();
168 return numNodes(k)==1;
181 if (!
call(G, adj_v1n, result))
int numPartitions() const
Array< Array< adjEntry > > m_ears
The parameterized class Array implements dynamic arrays of type E.
void buildFromResult(const Graph &G, const List< List< node > > &lco)
Data type for general directed graphs (adjacency list representation).
Declaration and implementation of AdjEntryArray class.
bool leftmostFeasibleCandidate(List< node > &result)
void beltExtension(List< Candidate > &extension)
AdjEntryArray< bool > m_marked
Partitioning(const Graph &G, const List< List< node > > &lco)
int pathLength(int k) const
bool forbidden(node v) const
List< Candidate >::iterator m_currCandidateIt
Doubly linked lists (maintaining the length of the list).
adjEntry twin() const
Returns the corresponding adjacency element associated with the same edge.
Declares the base class ShellingOrderModule for modules that compute a shelling order of a graph...
adjEntry getPathAdj(int k, int i) const
adjEntry right(int k) const
Class for the representation of nodes.
Encapsulates a pointer to a list element.
bool isSingleton(int k) const
bool call(const Graph &G, adjEntry adj_v1n, List< List< node > > &result)
node getNode(int k, int i) const
int numNodes(int k) const
NodeArray< int > m_cutEdges
NodeArray< int > m_cutFaces
adjEntry left(int k) const
adjEntry getChainAdj(int k, int i) const
The namespace for all OGDF objects.
bool call(const Graph &G, adjEntry adj_v1n, Partitioning &partition)
bool isSingletonWith(const Candidate &c, node v) const
Class for adjacency list elements.
bool singular(node v) const