Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

IndInfo.h
Go to the documentation of this file.
1 
34 #pragma once
35 
36 #include <ogdf/basic/Graph.h>
37 #include <ogdf/basic/memory.h>
38 
39 namespace ogdf {
40 namespace booth_lueker {
41 
42 class IndInfo {
43  friend class EmbedPQTree;
44 
45 public:
46  explicit IndInfo(node w) {
47  v = w;
48  changeDir = false;
49  }
50 
51  ~IndInfo() { }
52 
53  void resetAssociatedNode(node w) { v = w; }
54 
55  node getAssociatedNode() { return v; }
56 
57 private:
59  bool changeDir;
60 
61 
63 };
64 
65 }
66 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
Graph.h
Includes declaration of graph class.
ogdf::booth_lueker::IndInfo::~IndInfo
~IndInfo()
Definition: IndInfo.h:51
ogdf::booth_lueker::IndInfo::changeDir
bool changeDir
Definition: IndInfo.h:59
ogdf::booth_lueker::IndInfo::getAssociatedNode
node getAssociatedNode()
Definition: IndInfo.h:55
OGDF_NEW_DELETE
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Definition: memory.h:85
ogdf::booth_lueker::IndInfo::resetAssociatedNode
void resetAssociatedNode(node w)
Definition: IndInfo.h:53
ogdf::booth_lueker::IndInfo
Definition: IndInfo.h:42
ogdf::booth_lueker::EmbedPQTree
Definition: EmbedPQTree.h:55
ogdf::booth_lueker::IndInfo::IndInfo
IndInfo(node w)
Definition: IndInfo.h:46
ogdf::booth_lueker::IndInfo::v
node v
Definition: IndInfo.h:58
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:240
memory.h
Declaration of memory manager for allocating small pieces of memory.