120 int& crossingNumber)
override;
138 m_subgraph.reset(pSubgraph);
143 m_inserter.reset(pInserter);
163 #ifndef OGDF_MEMORY_POOL_NTS 169 static void doWorkHelper(ThreadMaster &master,
EdgeInsertionModule &inserter, std::minstd_rand &rng);
171 static bool doSinglePermutation(
179 std::minstd_rand &rng,
180 int &crossingNumber);
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms...
std::unique_ptr< EdgeInsertionModule > m_inserter
The edge insertion module.
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.
Declaration of interface for edge insertion algorithms.
Interface for edge insertion algorithms.
void maxThreads(unsigned int n)
Sets the maximal number of used threads to n.
bool m_setTimeout
The option for setting timeouts in submodules.
ReturnType
The return type of a module.
Light-weight version of a planarized representation, associated with a PlanRep.
void setTimeout(bool b)
Sets the option setTimeout to b.
unsigned int m_maxThreads
The maximal number of used threads.
The planarization approach for crossing minimization.
Contains logging functionality.
void setInserter(EdgeInsertionModule *pInserter)
Sets the module option for the edge insertion module.
void permutations(int p)
Sets the number of permutations to p.
int permutations()
Returns the number of permutations.
Centralized global and local logging facility working on streams like cout.
int m_permutations
The number of permutations.
bool setTimeout()
Returns the current setting of options setTimeout.
The namespace for all OGDF objects.
Base class for crossing minimization algorithms.
Declaration of interface for planar subgraph algorithms.
void setSubgraph(PlanarSubgraphModule< int > *pSubgraph)
Sets the module option for the computation of the planar subgraph.
unsigned int maxThreads() const
Returns the maximal number of used threads.
std::unique_ptr< PlanarSubgraphModule< int > > m_subgraph
The planar subgraph algorithm.
Planarized representations (of a connected component) of a graph.