115 int& crossingNumber)
override;
133 m_subgraph.reset(pSubgraph);
138 m_inserter.reset(pInserter);
158 #ifndef OGDF_MEMORY_POOL_NTS 166 static bool doSinglePermutation(
172 std::minstd_rand &rng,
173 int &crossingNumber);
bool setTimeout()
Returns the current setting of options setTimeout.
The parameterized class Array implements dynamic arrays of type E.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
std::unique_ptr< PlanarSubgraphModule< int > > m_subgraph
The planar subgraph algorithm.
void permutations(int p)
Sets the number of permutations to p.
The planarization approach for UML crossing minimization.
void setTimeout(bool b)
Sets the option setTimeout to b.
void maxThreads(unsigned int n)
Sets the maximal number of used threads to n.
void setSubgraph(PlanarSubgraphModule< int > *pSubgraph)
Sets the module option for the computation of the planar subgraph.
Declaration of interface for edge insertion algorithms.
ReturnType
The return type of a module.
Light-weight version of a planarized representation, associated with a PlanRep.
unsigned int maxThreads() const
Returns the maximal number of used threads.
Contains logging functionality.
unsigned int m_maxThreads
The maximal number of used threads.
Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierar...
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms...
Base class for UML crossing minimization algorithms.
int m_permutations
The number of permutations.
std::unique_ptr< UMLEdgeInsertionModule > m_inserter
The edge insertion module.
Centralized global and local logging facility working on streams like std::cout.
bool m_setTimeout
The option for setting timeouts in submodules.
int permutations()
Returns the number of permutations.
Interface for UML edge insertion algorithms.
The namespace for all OGDF objects.
Declaration of interface for planar subgraph algorithms.
void setInserter(UMLEdgeInsertionModule *pInserter)
Sets the module option for the edge insertion module.