Edge - Stav-Nof/The-Maze-of-Waze-part3 GitHub Wiki
This class represents a directional edge(src,dest) in the graph and set of operations applicable on a it.
Edge class methods:
- Src- return the id (key) of the source vertex (node) of this edge.
- Dest- return the id (key) of the destination vertex (node) of this edge.
- Weight- return the Weight of the edge (what is the 'cost' to cross this edge).
- Info- return and change the remark (meta data) associated with this edge.
- Tag- return and change the color of the edge. (used for some algorithms).