50 , m_rrOption(inserter.m_rrOption)
51 , m_percentMostCrossed(inserter.m_percentMostCrossed) { }
Declaration of interface for edge insertion algorithms.
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
Basic declarations, included by all source files.
Interface for edge insertion algorithms.
Common parameter functionality for ogdf::VariableEmbeddingInserter and ogdf::VariableEmbeddingInserte...
VariableEmbeddingInserterBase()
Creates an instance of variable embedding edge inserter with default settings.
VariableEmbeddingInserterBase & operator=(const VariableEmbeddingInserterBase &inserter)
Assignment operator. Copies option settings only.
double m_percentMostCrossed
The portion of most crossed edges considered.
void runsPostprocessing(int runs)
Sets the number of runs performed by the remove-reinsert method.
void percentMostCrossed(double percent)
Sets the option percentMostCrossed to percent.
virtual ~VariableEmbeddingInserterBase()
Destructor.
void removeReinsert(RemoveReinsertType rrOption)
Sets the remove-reinsert postprocessing method.
double percentMostCrossed() const
Returns the current setting of option percentMostCrossed.
VariableEmbeddingInserterBase(const VariableEmbeddingInserterBase &inserter)
Creates an instance of variable embedding inserter with the same settings as inserter.
RemoveReinsertType m_rrOption
The remove-reinsert method.
int m_runsPostprocessing
Runs of remove-reinsert method.
RemoveReinsertType removeReinsert() const
Returns the current setting of the remove-reinsert postprocessing method.
int runsPostprocessing() const
Returns the number of runs performed by the remove-reinsert method after the algorithm has been calle...
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
The namespace for all OGDF objects.
@ None
Two geometric objects do not intersect.