Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
VariableEmbeddingInserterUML.h
Go to the documentation of this file.
1
32#pragma once
33
36
37namespace ogdf {
38
40
99
100}
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
Declaration of interface for edge insertion algorithms.
The parameterized class Array implements dynamic arrays of type E.
Definition Array.h:214
Dynamic arrays indexed with edges.
Definition EdgeArray.h:125
ReturnType
The return type of a module.
Definition Module.h:50
Light-weight version of a planarized representation, associated with a PlanRep.
Interface for UML edge insertion algorithms.
double m_percentMostCrossed
The portion of most crossed edges considered.
virtual UMLEdgeInsertionModule * clone() const override
Returns a new instance of the variable embedding inserter with the same option settings.
RemoveReinsertType m_rrOption
The remove-reinsert method.
virtual ReturnType doCall(PlanRepLight &pr, const Array< edge > &origEdges, const EdgeArray< int > *pCostOrig, const EdgeArray< uint32_t > *pEdgeSubgraph) override
Implements the algorithm call.
VariableEmbeddingInserterUML & operator=(const VariableEmbeddingInserterUML &inserter)
Assignment operator. Copies option settings only.
void removeReinsert(RemoveReinsertType rrOption)
Sets the remove-reinsert postprocessing method.
void percentMostCrossed(double percent)
Sets the option percentMostCrossed to percent.
VariableEmbeddingInserterUML()
Creates an instance of variable embedding edge inserter with default settings.
double percentMostCrossed() const
Returns the current setting of option percentMostCrossed.
VariableEmbeddingInserterUML(const VariableEmbeddingInserterUML &inserter)
Creates an instance of variable embedding inserter with the same settings as inserter.
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:101
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.