EdgeData - shahar-furer/Ex2 GitHub Wiki

class EDgeData includes:

  • getSrc - return the source of the edge.
  • getDest- return the destination of the edge.
  • getWeight- return the weight of the edge.
  • getInfo- return the info of the edge .
  • setInfo- enable editing the info of the edge.
  • getTag- retrun the tag of the edge.
  • setTag- enable editing the tag of the edge.
  • toString- return the source the destination and the weight of the edge in a string.