Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

VariableEmbeddingInserterUML.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 
38 namespace ogdf {
39 
40 
42 
54 {
55 public:
58 
61 
64 
66  virtual UMLEdgeInsertionModule *clone() const override;
67 
70 
71 
77  void removeReinsert(RemoveReinsertType rrOption) {
79  m_rrOption = rrOption;
80  }
81 
84  return m_rrOption;
85  }
86 
87 
89 
93  void percentMostCrossed(double percent) {
94  m_percentMostCrossed = percent;
95  }
96 
98  double percentMostCrossed() const {
99  return m_percentMostCrossed;
100  }
101 
103 
104 private:
106  virtual ReturnType doCall(
107  PlanRepLight &pr,
108  const Array<edge> &origEdges,
109  const EdgeArray<int> *pCostOrig,
110  const EdgeArray<uint32_t> *pEdgeSubgraph) override;
111 
114 };
115 
116 } // end namespace ogdf
The parameterized class Array implements dynamic arrays of type E.
Definition: Array.h:56
RemoveReinsertType removeReinsert() const
Returns the current setting of the remove-reinsert postprocessing method.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
double m_percentMostCrossed
The portion of most crossed edges considered.
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
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.
double percentMostCrossed() const
Returns the current setting of option percentMostCrossed.
Interface for UML edge insertion algorithms.
The namespace for all OGDF objects.
void percentMostCrossed(double percent)
Sets the option percentMostCrossed to percent.