83 return lhs &
static_cast<int>(rhs);
87 lhs |=
static_cast<int>(rhs);
191 void addKuratowskiStructure(
192 const node currentNode,
199 return allKuratowskis;
204 return allKuratowskis;
302 void extractExternalFacePath(
309 void splitInMinorTypes(
314 void extractExternalSubgraph(
320 void extractExternalSubgraphBundles(
334 void extractPertinentSubgraphBundles(
const NodeArray< ListPure< node > > & m_separatedDFSChildList
A list to all separated DFS-children of node.
KuratowskiStructure & operator=(const KuratowskiStructure &orig)
Assignment.
unsigned int operator|=(unsigned int &i, CPUFeatureMask fm)
int operator&(int lhs, UMLOpt rhs)
NodeArray< int > & m_lowPoint
The lowpoint of each node.
SListPure< int > startnodes
const int & m_embeddingGrade
The embedding grade.
KuratowskiStructure(const KuratowskiStructure &orig)
Copy constructor.
int V_DFI
DFI of the current node to embed.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
SListPure< edge > pertinentSubgraph
A list of all edges in pertinent paths (bundles only)
SListPure< SListPure< edge > > externalPaths
const NodeArray< adjEntry > & m_adjParent
The adjEntry which goes from DFS-parent to current vertex.
node R
The root of the bicomp containing stopX and stopY.
ArrayBuffer< adjEntry > highestFacePath
The whole highestFacePath of the bicomp containing V.
SListPure< SListPure< edge > > pertinentPaths
SListPure< WInfo > wNodes
Holds information about all pertinent nodes w of the bicomp containing V.
node V
The current node to embed.
const SListPure< KuratowskiStructure > & getAllKuratowskis() const
Constant get-method for the list of all KuratowskiStructures.
A Kuratowski Structure is a special graph structure containing severals subdivisions.
An array that keeps track of the number of inserted elements; also usable as an efficient stack...
SListPure< node > endnodes
Encapsulates a pointer to an ogdf::SList element.
SListPure< ArrayBuffer< adjEntry > > highestXYPaths
The appropriate paths of the highestFacePath for each wNode.
SListPure< adjEntry > externalFacePath
External face path of bicomp containing V in direction CCW.
const bool m_bundles
If true, bundles are extracted, otherwise single paths?
~FindKuratowskis()
Destructor.
ArrayBuffer< adjEntry > * highestXYPath
node stopX
First stopping node.
List of externally active nodes strictly between x and y for minortypes B and E
Dynamic arrays indexed with nodes.
ArrayBuffer< adjEntry > * zPath
SListPure< ExternE > externE
List of externally active nodes strictly between x and y for minortypes B and E.
Saves information about a pertinent node w between two stopping vertices.
node stopY
Second stopping node.
static void copy(const T &from, T &to)
NodeArray< int > m_wasHere
Array maintaining visited bits on each node.
EdgeArray< BoyerMyrvoldEdgeType > & m_edgeType
Contains the type of each edge.
node RReal
Real node of virtual node R.
MinorType
All possible base minortypes on w.
const NodeArray< int > & m_dfi
The one and only DFI-NodeArray.
SListIterator< ExternE > externEStart
SListPure< int > stopXStartnodes
List of all virtual startnodes of paths starting at stopX (only without bundles)
Class for the representation of nodes.
SListPure< node > stopXEndnodes
List of all endnodes of paths starting at stopX (only without bundles)
NodeArray< int > & m_numUnembeddedBackedgesInBicomp
Stores for each (virtual) bicomp root how many backedges to its bicomp still have to be embedded...
This class collects information about Kuratowski Subdivisions which is used for extraction later...
SListPure< edge > externalSubgraph
A list of all edges in all externally active paths (bundles only)
SListPure< node > stopYEndnodes
List of all endnodes of paths starting at stopY (only without bundles)
int m_nodeMarker
Value used as marker for visited nodes etc.
This class implements the extended BoyerMyrvold planarity embedding algorithm.
NodeArray< SListPure< node > > & m_pertinentRoots
List of virtual bicomp roots, that are pertinent to the current embedded node.
const NodeArray< node > & m_realVertex
Link to non-virtual vertex of a virtual Vertex.
SListPure< ArrayBuffer< adjEntry > > zPaths
A path from the zNode in minortype D to node V for each highest XY-Path.
SListPure< int > stopYStartnodes
List of all virtual startnodes of paths starting at stopY (only without bundles)
SListPure< KuratowskiStructure > & getAllKuratowskis()
Get-method for the list of all KuratowskiStructures.
Declaration of the class BoyerMyrvoldPlanar.
const Array< node > & m_nodeFromDFI
Returns appropriate node from given DFI.
~KuratowskiStructure()
Destructor.
KuratowskiStructure k
Current Kuratowski Structure.
The namespace for all OGDF objects.
SListPure< KuratowskiStructure > allKuratowskis
List of all Kuratowski Structures.
KuratowskiStructure()
Constructor.
const NodeArray< int > & m_highestSubtreeDFI
The highest DFI in a subtree with node as root.
SListIterator< ExternE > externEEnd
BoyerMyrvoldPlanar * pBM
Link to class BoyerMyrvoldPlanar.
const EdgeArray< node > & m_pointsToRoot
Identifies the rootnode of the child bicomp the given backedge points to.
NodeArray< WInfo * > m_getWInfo
Links appropriate WInfo to node.
NodeArray< SListPure< adjEntry > > & m_backedgeFlags
Holds information, if node is the source of a backedge.
const NodeArray< int > & m_leastAncestor
The DFI of the least ancestor node over all backedges.