103 double nodeDistance()
const {
105 return m_nodeDistance;
116 return m_layerDistance;
131 return m_fixedLayerDistance;
136 m_fixedLayerDistance = b;
141 return m_weightSegments;
146 if(w > 0.0 && w <= 100.0)
147 m_weightSegments = w;
152 return m_weightBalancing;
157 if(w >= 0.0 && w <= 100.0)
158 m_weightBalancing = w;
163 return m_weightClusters;
168 if(w > 0.0 && w <= 100.0)
169 m_weightClusters = w;
183 void computeXCoordinates(
186 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()