public class Edge
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Node |
first
extremities of the edge
|
int |
index
an integer useful for indexing this edge
|
Node |
second
extremities of the edge
|
Constructor and Description |
---|
Edge()
Initialize an empty edge
|
Edge(Node a,
Node b,
int index)
Initialize an edge (a, b)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Check whether two points have equal coordinates
|
int |
hashCode() |