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/memory.h>
35
36namespace ogdf {
37
44public:
45 enum class PQNodeType { PNode = 1, QNode = 2, Leaf = 3, Undefined = 0 };
46
47 enum class SibDirection { NoDir, Left, Right };
48
49 // Status Definitions
50 enum class PQNodeStatus {
51 Empty = 1,
52 Partial = 2,
53 Full = 3,
54 Pertinent = 4,
55 ToBeDeleted = 5,
56
58 Indicator = 6,
62 Eliminated = 6,
65 WhaDelete = 7,
68 PertRoot = 8
69 };
70
71 // Mark Definitions for Bubble Phase
72 enum class PQNodeMark { Unmarked = 0, Queued = 1, Blocked = 2, Unblocked = 3 };
73
75
76 virtual ~PQNodeRoot() { }
77
79};
80
81}
The class PQNodeRoot is used as a base class of the class PQNode.
Definition PQNodeRoot.h:43
virtual ~PQNodeRoot()
Definition PQNodeRoot.h:76
@ 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:85
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.