Skip to content
neta-r edited this page Dec 19, 2020 · 1 revision

EdgeData

Implements edge_data and Serilizable

Data Structor & Fields:

  • src and dest int which represent the id of the source and destination nodes of the edge
  • int tag which used for algorithms in the graph
  • double w which represents the weight of the edge
  • String info which helps algorithms in the graph

Functions:

  • equals and hashCode are being overriden in order to compare between the diffrent edges and to be used in graph algorithms
  • getters and setters for every field of the edge

Menu

Clone this wiki locally