48 inline bool isK33()
const {
return subdivisionType != SubdivisionType::E5; }
50 inline bool isK5()
const {
return subdivisionType == SubdivisionType::E5; }
141 static bool isANewKuratowski(
148 static bool isANewKuratowski(
192 for (itExtern = externPath.
begin(); itExtern.
valid(); ++itExtern) {
193 list.
pushBack((*itExtern)->theEdge());
200 inline adjEntry adjToLowestNodeBelow(
node high,
int low);
239 void extractMinorBBundles(
242 const int nodemarker,
277 bool firstWOnHighestXY,
286 void extractMinorEBundles(
291 bool firstWOnHighestXY,
293 const int nodemarker,
306 bool firstYPath)
const 308 return (before == -1 && firstXPath)
309 || (before == 1 && firstYPath);
328 const node endnodeZ);
332 bool firstWOnHighestXY)
const 334 return !m_avoidE2Minors
336 && firstWOnHighestXY;
342 const node endnodeZ)
const 344 return m_dfi[endnodeZ] > m_dfi[endnodeX]
345 && m_dfi[endnodeZ] > m_dfi[endnodeY];
367 ,
const node endnodeZ
374 const node endnodeZ)
const 376 return endnodeX != endnodeY
377 && (m_dfi[endnodeX] > m_dfi[endnodeZ]
378 || m_dfi[endnodeY] > m_dfi[endnodeZ]);
395 const node endnodeZ);
401 const WInfo& info)
const 421 const node endnodeZ);
429 const node endnodeZ)
const 434 && ((endnodeX == endnodeY
435 && m_dfi[endnodeZ] <= m_dfi[endnodeX])
436 || (endnodeX == endnodeZ
437 && m_dfi[endnodeY] <= m_dfi[endnodeX])
438 || (endnodeY == endnodeZ
439 && m_dfi[endnodeX] <= m_dfi[endnodeY]));
458 const node endnodeZ);
SubdivisionType subdivisionType
Minortype of the Kuratowski Subdivision.
bool valid() const
Returns true iff the iterator points to an element.
bool isK33() const
Returns true, iff subdivision is a K3,3-minor.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
KuratowskiWrapper()
Constructor.
node V
The current node to embed.
A Kuratowski Structure is a special graph structure containing severals subdivisions.
Declaration of the class FindKuratowskis.
Encapsulates a pointer to an ogdf::SList element.
Singly linked lists (maintaining the length of the list).
ostream & operator<<(ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
node stopX
First stopping node.
iterator begin()
Returns an iterator to the first element of the list.
Saves information about a pertinent node w between two stopping vertices.
iterator pushBack(const E &x)
Adds element x at the end of the list.
node stopY
Second stopping node.
SubdivisionType
Possible minortypes of a Kuratowski Subdivision.
node RReal
Real node of virtual node R.
node V
The node which was embedded while the Kuratowski Subdivision was found.
Class for the representation of nodes.
This class implements the extended BoyerMyrvold planarity embedding algorithm.
Declaration of the class BoyerMyrvoldPlanar.
The namespace for all OGDF objects.
bool isK5() const
Returns true, iff subdivision is a K5-minor.
Wrapper-class for Kuratowski Subdivisions containing the minortype and edgelist.
Class for adjacency list elements.
SListPure< edge > edgeList
Contains the edges of the Kuratowski Subdivision.
Declaration and implementation of list-based stacks (StackPure<E> and Stack<E>).