47 m_percentMostCrossed(25)
53 m_rrOption(inserter.m_rrOption),
54 m_percentMostCrossed(inserter.m_percentMostCrossed)
75 m_rrOption = rrOption;
89 m_percentMostCrossed = percent;
94 return m_percentMostCrossed;
102 int runsPostprocessing()
const {
104 return m_runsPostprocessing;
110 m_runsPostprocessing = runs;
virtual ~VariableEmbeddingInserterBase()
Destructor.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Declaration of interface for edge insertion algorithms.
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
RemoveReinsertType m_rrOption
The remove-reinsert method.
Interface for edge insertion algorithms.
VariableEmbeddingInserterBase()
Creates an instance of variable embedding edge inserter with default settings.
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
Common parameter functionality for ogdf::VariableEmbeddingInserter and ogdf::VariableEmbeddingInserte...
VariableEmbeddingInserterBase & operator=(const VariableEmbeddingInserterBase &inserter)
Assignment operator. Copies option settings only.
void runsPostprocessing(int runs)
Sets the number of runs performed by the remove-reinsert method.
RemoveReinsertType removeReinsert() const
Returns the current setting of the remove-reinsert postprocessing method.
double percentMostCrossed() const
Returns the current setting of option percentMostCrossed.
int m_runsPostprocessing
Runs of remove-reinsert method.
VariableEmbeddingInserterBase(const VariableEmbeddingInserterBase &inserter)
Creates an instance of variable embedding inserter with the same settings as inserter.
void percentMostCrossed(double percent)
Sets the option percentMostCrossed to percent.
double m_percentMostCrossed
The portion of most crossed edges considered.
The namespace for all OGDF objects.