102 double nodeDistance()
const {
104 return m_nodeDistance;
115 return m_layerDistance;
130 return m_fixedLayerDistance;
135 m_fixedLayerDistance = b;
140 return m_weightSegments;
145 if(w > 0.0 && w <= 100.0)
146 m_weightSegments = w;
151 return m_weightBalancing;
156 if(w >= 0.0 && w <= 100.0)
157 m_weightBalancing = w;
162 return m_weightClusters;
167 if(w > 0.0 && w <= 100.0)
168 m_weightClusters = w;
182 void computeXCoordinates(
185 void computeYCoordinates(
Manages access on copy of an attributed clustered graph.
ClusterArray< int > m_cIndex
bool fixedLayerDistance() const
Returns the current setting of option fixedLayerDistance.
ClusterGraphCopyAttributes * m_pACGC
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
double m_layerDistance
The minimal distance between layers.
NodeArray< int > m_vIndex
bool m_fixedLayerDistance
Use fixed layer distances?
void weightSegments(double w)
Sets the weight of edge segments connecting to vertical segments to w.
void nodeDistance(double x)
Sets the minimal allowed x-distance between nodes on a layer to x.
double weightClusters() const
Returns the weight for cluster boundary variables.
const ExtendedNestingGraph * m_pH
Interface of hierarchy layout algorithms for cluster graphs.
Tuples of two elements (2-tuples).
Doubly linked lists (maintaining the length of the list).
double m_weightSegments
The weight of edge segments.
void weightClusters(double w)
Sets the weight for cluster boundary variables to w.
double weightSegments() const
Returns the weight of edge segments connecting to vertical segments.
Declaration of interface for hierarchy layout algorithms (3.
NodeArray< bool > m_isVirtual
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.
double m_weightBalancing
The weight for balancing.
double weightBalancing() const
Returns the weight for balancing successors below a node; 0.0 means no balancing. ...
void weightBalancing(double w)
Sets the weight for balancing successors below a node to w; 0.0 means no balancing.
void fixedLayerDistance(bool b)
Sets the option fixedLayerDistance to b.
double layerDistance() const
Returns the minimal allowed y-distance between layers.
The namespace for all OGDF objects.
double m_weightClusters
The weight for cluster boundary variables.
double m_nodeDistance
The minimal distance between nodes.
void layerDistance(double x)
Sets the minimal allowed y-distance between layers to x.
The LP-based hierarchy cluster layout algorithm.
~OptimalHierarchyClusterLayout()