39 namespace energybased {
63 v_lower_level = v_low;
64 v_higher_level = v_high;
70 void set_x(
double x) {position.m_x = x;}
71 void set_y(
double y) {position.m_y = y;}
74 double get_x()
const {
return position.m_x;}
75 double get_y()
const {
return position.m_y;}
127 void init_mult_values();
148 node dedicated_sun_node;
151 node dedicated_pm_node;
double get_dedicated_sun_distance() const
node v_higher_level
the corresponding node in the higher level graph for divide et impera v_lower_level is the original g...
helping data structure that stores the graphical attributes of a node that are needed for the force-d...
List< double > * get_lambda_List_ptr()
static std::istream & operator>>(std::istream &inStream, HyperGraph::NodeArray< T > &array)
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
List< double > lambda
the factors lambda for scaling the length of this edge relative to the pass between v's sun and the s...
node get_higher_level_node() const
void set_copy_node(node v)
node get_original_node() const
void set_lower_level_node(node v)
DPoint get_position() const
double get_angle_1() const
void set_higher_level_node(node v)
List< node > * get_neighbour_sun_node_List_ptr()
ostream & operator<<(ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
int type
1 = sun node (s_node); 2 = planet node (p_node) without a dedicate moon 3 = planet node with dedicate...
void set_height(double h)
int mass
the mass (= number of previously collapsed nodes) of this node
node v_lower_level
the corresponding node in the lower level graph
void set_subgraph_node(node v)
node get_dedicated_sun_node() const
List< node > moon_List
the list of all dedicated moon nodes (!= nil if type == 3)
void set_dedicated_sun_distance(double d)
Class for the representation of nodes.
double get_height() const
double angle_2
solar systems have to be placed
node get_copy_node() const
void set_dedicated_sun_node(node v)
List< node > * moon_List_ptr
a pointer to the moon_List
Includes declaration of graph class.
void set_dedicated_pm_node(node v)
void set_original_node(node v)
node get_subgraph_node() const
~NodeAttributes()
destructor
List< node > * neighbour_s_node_List_ptr
a pointer to to the neighbour_s_node list
double dedicated_sun_distance
the distance to the dedicated sun node of the galaxy of this node
The namespace for all OGDF objects.
Declaration of classes DPoint, DPolyline, DLine, DRect, DIntersectableRect, DScaler.
double get_angle_2() const
node get_lower_level_node() const
List< node > * get_dedicated_moon_node_List_ptr()
node get_dedicated_pm_node() const
void set_angle_2(double a)
void set_NodeAttributes(double w, double h, DPoint pos, node v_low, node v_high)
void set_angle_1(double a)
void set_position(DPoint pos)
Declaration of doubly linked lists and iterators.
bool placed
indicates weather an initial position has been assigned to this node or not