EdgeData - meytar14/ex2 GitHub Wiki

EdgeData

Consructor:

EdgeData​(int src, int dest, double weight)- constructor

Methods:

copy()- return a deep copy of this edge.

getDest()- return the dest of this edge.

getInfo()- return the info of this edge.

getSrc()- return the src of this edge.

getTag()- return the tag of this edge.

getWeight()- return the weight of this edge.

setInfo​(java.lang.String s)- set the info of this edge.

setTag​(int t)- set the tag of this edge.