Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

VariableEmbeddingInserterDynUML.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
40 
52 {
53 public:
56 
59 
62 
64  virtual UMLEdgeInsertionModule *clone() const override;
65 
68 
69 
75  void removeReinsert(RemoveReinsertType rrOption) {
77  m_rrOption = rrOption;
78  }
79 
82  return m_rrOption;
83  }
84 
85 
87 
91  void percentMostCrossed(double percent) {
92  m_percentMostCrossed = percent;
93  }
94 
96  double percentMostCrossed() const {
97  return m_percentMostCrossed;
98  }
99 
101 
102 private:
104  virtual ReturnType doCall(
105  PlanRepLight &pr,
106  const Array<edge> &origEdges,
107  const EdgeArray<int> *pCostOrig,
108  const EdgeArray<uint32_t> *pEdgeSubgraph) override;
109 
112 };
113 
114 }
The parameterized class Array implements dynamic arrays of type E.
Definition: Array.h:200
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
double m_percentMostCrossed
The portion of most crossed edges considered.
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
Declaration of interface for edge insertion algorithms.
ReturnType
The return type of a module.
Definition: Module.h:51
Light-weight version of a planarized representation, associated with a PlanRep.
Definition: PlanRepLight.h:44
RemoveReinsertType m_rrOption
The remove-reinsert method.
RemoveReinsertType removeReinsert() const
Returns the current setting of the remove-reinsert postprocessing method.
Interface for UML edge insertion algorithms.
The namespace for all OGDF objects.
void percentMostCrossed(double percent)
Sets the option percentMostCrossed to percent.
double percentMostCrossed() const
Returns the current setting of option percentMostCrossed.