Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
PQNodeRoot.h
Go to the documentation of this file.
1
32#pragma once
33
34#include <ogdf/basic/basic.h>
35#include <ogdf/basic/memory.h>
36
37namespace ogdf {
38
45public:
46 enum class PQNodeType { PNode = 1, QNode = 2, Leaf = 3, Undefined = 0 };
47
48 enum class SibDirection { NoDir, Left, Right };
49
50 // Status Definitions
51 enum class PQNodeStatus {
52 Empty = 1,
53 Partial = 2,
54 Full = 3,
55 Pertinent = 4,
56 ToBeDeleted = 5,
57
59 Indicator = 6,
63 Eliminated = 6,
66 WhaDelete = 7,
69 PertRoot = 8
70 };
71
72 // Mark Definitions for Bubble Phase
73 enum class PQNodeMark { Unmarked = 0, Queued = 1, Blocked = 2, Unblocked = 3 };
74
76
77 virtual ~PQNodeRoot() { }
78
80};
81
82}
Basic declarations, included by all source files.
The class PQNodeRoot is used as a base class of the class PQNode.
Definition PQNodeRoot.h:44
virtual ~PQNodeRoot()
Definition PQNodeRoot.h:77
@ Eliminated
Nodes removed during the template reduction are marked as as Eliminated. Their memory is not freed....
@ Indicator
Indicator for extra node status defines.
@ WhaDelete
Nodes that need to be removed in order to obtain a maximal pertinent sequence are marked WhaDelete.
@ PertRoot
The pertinent Root is marked PertRoot during the clean up after a reduction. Technical.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Definition memory.h:84
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.