node - YosefTwito/PackIt GitHub Wiki
- This class represents the set of operations applicable on a
- node (vertex) in a (directional) weighted graph.
- @authors YosefTwito and EldarTakach
The node:
node's parameters:
- int key - the number of the node (not necessarily sequential, once set - final).
- int tag - assistant tag for functions.
- double weight - to save the weight of the node.
- String info - save extra info (might be empty).
- Point3D location - to present the node on the graph.
The methods of the node are:
Getters/Setters :
- To adjust the basic parameters (note that key cannot be change !).
Constructors:
- node() - empty constructor.
- node(node o). (copy, to handle some functions).
- node(Point3D location).