EdgeData - shirabs/Ex_2 GitHub Wiki

EdgeData

This class represents edge wihth:

  • private int src - start
  • private int dest - end
  • private String info - string
  • private double weight- wight
  • private int tag- color (white , grey , black)

Constructors

Regulr constructor that get start , end , wight.

Copy constructor.

Constructor that get string.

Methods

Return the start of the edge.

Return the end of the edge.

Return the wight of the edge.

Return string info.

Set the String info.

Return the color.

Set the color.

Return string of start , and , wight.