92 #ifndef OGDF_MEMORY_POOL_NTS 93 m_maxNumberOfThreads = numThreads;
98 void setEnablePostProcessing(
bool b) { m_doPostProcessing = b; }
109 void run(uint32_t numIterations);
112 void allocate(uint32_t numNodes, uint32_t numEdges);
151 : m_iMaxNumThreads(1)
153 , m_multiLevelNumNodesBound(10)
154 , m_iCurrentLevelNr(-1)
177 void layoutCurrentLevel();
180 void assignPositionsFromPrevLevel();
189 void initCurrentLevel();
192 void deleteMultiLevelGraphs();
195 void dumpCurrentLevel(
const char *filename);
198 uint32_t numberOfIterationsByLevelNr(uint32_t levelNr);
int m_multiLevelNumNodesBound
FastMultipoleMultilevelEmbedder()
Constructor, just sets number of maximum threads.
Data type for general directed graphs (adjacency list representation).
the main global options for a run
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void setDefaultEdgeLength(float edgeLength)
FMEGlobalOptions * m_pOptions
uint32_t m_numberOfThreads
Definitions of various auxiliary classes for FME layout.
Declaration of class GalaxyMultilevelBuilder.
void multilevelUntilNumNodesAreLess(int nodesBound)
sets the bound for the number of nodes for multilevel step
void setDefaultNodeSize(float nodeSize)
Declaration of class FMEThread.
Stores additional attributes of a graph (like layout information).
void setMultipolePrec(uint32_t precision)
sets the number of coefficients for the expansions. default = 4
uint32_t m_precisionParameter
void setNumIterations(uint32_t numIterations)
sets the maximum number of iterations
The fast multipole multilevel embedder approach for force-directed multilevel layout.
Declaration of interface for layout algorithms (class LayoutModule)
Interface of general layout algorithms.
void setNumberOfThreads(uint32_t numThreads)
Includes declaration of graph class.
The fast multipole embedder approach for force-directed layout.
NodeArray< float > m_adjustedNodeSize
void maxNumThreads(int numThreads)
The namespace for all OGDF objects.
void setRandomize(bool b)
if true, layout algorithm will randomize the layout in the beginning
float m_defaultEdgeLength
uint32_t m_maxNumberOfThreads
FMEThreadPool * m_threadPool