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 
38 namespace ogdf {
39 namespace booth_lueker {
40 
41 class IndInfo {
42  friend class EmbedPQTree;
43 
44 public:
45  explicit IndInfo(node w) {
46  v = w;
47  changeDir = false;
48  }
49 
50  ~IndInfo() { }
51 
52  void resetAssociatedNode(node w) { v = w; }
53 
54  node getAssociatedNode() { return v; }
55 
56 private:
58  bool changeDir;
59 
60 
62 };
63 
64 }
65 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
Graph.h
Includes declaration of graph class.
ogdf::booth_lueker::IndInfo::~IndInfo
~IndInfo()
Definition: IndInfo.h:50
ogdf::booth_lueker::IndInfo::changeDir
bool changeDir
Definition: IndInfo.h:58
ogdf::booth_lueker::IndInfo::getAssociatedNode
node getAssociatedNode()
Definition: IndInfo.h:54
OGDF_NEW_DELETE
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Definition: memory.h:84
ogdf::booth_lueker::IndInfo::resetAssociatedNode
void resetAssociatedNode(node w)
Definition: IndInfo.h:52
ogdf::booth_lueker::IndInfo
Definition: IndInfo.h:41
ogdf::booth_lueker::EmbedPQTree
Definition: EmbedPQTree.h:43
ogdf::booth_lueker::IndInfo::IndInfo
IndInfo(node w)
Definition: IndInfo.h:45
ogdf::booth_lueker::IndInfo::v
node v
Definition: IndInfo.h:57
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:233