Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
PlanarSubgraphPQTree.h
Go to the documentation of this file.
1
36#pragma once
37
38#include <ogdf/basic/Graph.h>
39#include <ogdf/basic/basic.h>
43
44namespace ogdf {
45template<class E>
46class SList;
47template<class E>
48class SListPure;
49template<class T, class X, class Y>
50class PQLeafKey;
51
106
107}
Includes declaration of graph class.
Declaration and definition of the class MaxSequencePQTree.
Declaration of class PlanarLeafKey.
Basic declarations, included by all source files.
Class for the representation of edges.
Definition Graph_d.h:364
The class template MaxSequencePQTree is designed to compute a maximal consecutive sequence of pertine...
The class template PQLeafKey is a derived class of class template PQBasicKey.
Definition PQLeafKey.h:84
virtual int Initialize(SListPure< PlanarLeafKey * > &leafKeys)
Initializes a new PQ-tree with a set of leaves.
int Initialize(SListPure< PQLeafKey< edge, whaInfo *, bool > * > &leafKeys) override
void ReplacePartialRoot(SListPure< PlanarLeafKey * > &leafKeys)
Replaces a pertinet subtree by a set of new leaves if the root is partial.
void ReplaceRoot(SListPure< PlanarLeafKey * > &leafKeys)
Replaces the pertinent subtree by a set of new leaves.
virtual bool Reduction(SListPure< PlanarLeafKey * > &leafKeys, SList< PQLeafKey< edge, whaInfo *, bool > * > &eliminatedKeys)
Reduces a set of leaves.
void removeEliminatedLeaves(SList< PQLeafKey< edge, whaInfo *, bool > * > &eliminatedKeys)
Removes the leaves that have been marked for elimination from the PQ-tree.
bool Reduction(SListPure< PQLeafKey< edge, whaInfo *, bool > * > &leafKeys) override
void ReplaceFullRoot(SListPure< PlanarLeafKey * > &leafKeys)
Replaces a pertinet subtree by a set of new leaves if the root is full.
Singly linked lists (maintaining the length of the list).
Definition SList.h:845
Singly linked lists.
Definition SList.h:191
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
The namespace for all OGDF objects.
Declaration of class whaInfo.