edge - YosefTwito/PackIt GitHub Wiki
- This class represents the set of operations applicable on a
- directional edge(src,dest) in a (directional) weighted graph.
- @authors YosefTwito and EldarTakach
The edge:
edge's parameters:
- int src - the source-node of this edge.
- int dest - the destination-node of this edge
- int tag - assistant tag for functions.
- double weight - the weight of the edge.
- String info - save extra info (might be empty).
The functions of the edge are:
Getters/Setters :
- to adjust an existing edge (src, dest and weight cannot be changed).
Constructors:
- edge(int src, int dest, double w).
- edge(edge o). (copy, for some functions return value).