Class Edge
java.lang.Object
jdg.graph.Edge
A class for representing an undirected of a graph, as an unordered pair of nodes
- Author:
- Luca Castelli Aleardi (Ecole Polytechnique, feb 2021)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
index
public int indexan integer useful for indexing this edge -
first
extremities of the edge -
second
extremities of the edge
-
-
Constructor Details
-
Edge
public Edge()Initialize an empty edge -
Edge
-
-
Method Details
-
equals
-
hashCode
-