162 class CrossMinMaster;
163 class CrossMinWorker;
257 int fails()
const {
return m_fails; }
260 void fails(
int nFails) { m_fails = nFails; }
270 int runs()
const {
return m_runs; }
273 void runs(
int nRuns) { m_runs = nRuns; }
285 void transpose(
bool bTranspose) { m_transpose = bTranspose; }
357 #ifndef OGDF_MEMORY_POOL_NTS 379 m_ranking.reset(pRanking);
389 m_crossMin.reset(pCrossMin);
400 m_layout.reset(pLayout);
411 m_clusterLayout.reset(pLayout);
422 m_packer.reset(pPacker);
431 int numberOfCrossings()
const {
return m_nCrossings; }
447 int numCC()
const {
return m_numCC; };
int maxLevelSize()
Return the max. number of elements on a layer.
double pageRatio() const
Returns the current setting of option pageRation.
unsigned int m_maxThreads
The maximal number of used threads.
RCCrossings m_nCrossingsCluster
double m_pageRatio
Option for desired page ratio.
const NodeArray< int > & compGC() const
void setRanking(RankingModule *pRanking)
Sets the module option for the node ranking (layer assignment).
int runs() const
Returns the current setting of option runs.
Representation of proper hierarchies used by Sugiyama-layout.
void pageRatio(double x)
Sets the option pageRatio to x.
void alignBaseClasses(bool b)
Sets the option alignBaseClasses to b.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
bool m_arrangeCCs
Option for laying out components separately.
bool arrangeCCs() const
Returns the current setting of option arrangeCCs.
EdgeArray< uint32_t > * m_subgraphs
Defines the subgraphs for simultaneous drawing.
bool m_alignSiblings
Option for aligning siblings in inheritance trees.
Declaration of interface hierarchy layout algorithms (3.
void setCrossMin(LayeredCrossMinModule *pCrossMin)
Sets the module option for the two-layer crossing minimization.
void minDistCC(double x)
Sets the option minDistCC to x.
bool transpose() const
Returns the current setting of option transpose.
void setPacker(CCLayoutPackModule *pPacker)
Sets the module option for the arrangement of connected components.
std::unique_ptr< HierarchyLayoutModule > m_layout
the hierarchy layout module (final coordinate assignment)
std::unique_ptr< TwoLayerCrossMinSimDraw > m_crossMinSimDraw
double m_timeReduceCrossings
Interface of crossing minimization algorithms for layered graphs.
int numberOfLevels()
Return the number of layers/levels}.
int m_runs
Option for number of runs.
int fails() const
Returns the current setting of option fails.
Sugiyama's layout algorithm.
int m_fails
Option for maximal number of fails.
Interface of hierarchy layout algorithms for cluster graphs.
bool useSubgraphs() const
Returns true iff subgraphs for simultaneous drawing are set.
RCCrossings numberOfCrossingsCluster() const
Returns the number of crossings in the computed layout (cluster graph).
unsigned int maxThreads() const
Returns the maximal number of used threads.
std::unique_ptr< CCLayoutPackModule > m_packer
The module for arranging connected components.
double minDistCC() const
Returns the current setting of option minDistCC (distance between components).
Stores additional attributes of a graph (like layout information).
Interface of hierarchy layout algorithms.
std::unique_ptr< LayeredCrossMinModule > m_crossMin
the module for two-layer crossing minimization
void setSubgraphs(EdgeArray< uint32_t > *esg)
Sets the subgraphs for simultaneous drawing.
Base class of algorithms that arrange/pack layouts of connected components.
void setClusterLayout(HierarchyClusterLayoutModule *pLayout)
Sets the module option for the computation of the final layout for clustered graphs.
Stores additional attributes of a clustered graph (like layout information).
bool m_alignBaseClasses
Option for aligning base classes.
std::unique_ptr< RankingModule > m_ranking
the ranking module (level assignment)
int m_nCrossings
Number of crossings in computed layout.
Declaration of interface for layout algorithms (class LayoutModule)
Declaration of interface for ranking algorithms.
bool permuteFirst() const
Declaration of interface for hierarchy layout algorithms (3.
NodeArray< int > m_compGC
Interface of general layout algorithms.
void transpose(bool bTranspose)
Sets the option transpose to bTranspose.
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
void permuteFirst(bool b)
void arrangeCCs(bool bArrange)
Sets the options arrangeCCs to bArrange.
void setLayout(HierarchyLayoutModule *pLayout)
Sets the module option for the computation of the final layout.
bool m_transpose
Option for switching on transposal heuristic.
void alignSiblings(bool b)
Sets the option alignSiblings to b.
void maxThreads(unsigned int n)
Sets the maximal number of used threads to n.
Array< bool > m_levelChanged
Declaration of interface for two-layer crossing minimization algorithms for Simultaneous Drawing...
double m_minDistCC
Option for distance between connected components.
The namespace for all OGDF objects.
std::unique_ptr< HierarchyClusterLayoutModule > m_clusterLayout
the hierarchy cluster layout module (final coordinate assignment for clustered graphs) ...
bool alignSiblings() const
Returns the current setting of option alignSiblings.
void fails(int nFails)
Sets the option fails to nFails.
bool alignBaseClasses() const
Returns the current setting of option alignBaseClasses.
const EdgeArray< uint32_t > * subgraphs() const
Interface of algorithms for computing a node ranking.
double timeReduceCrossings()
void runs(int nRuns)
Sets the option runs to nRuns.
Representation of proper hierarchies used by Sugiyama-layout.
Declaration of ExtendedNestingGraph.
Declaration of interface for algorithms that arrange/pack layouts of connected components.