-
Constructor Summary
Constructors
-
Method Summary
boolean
Get the end, or head, of the edge
Get the start, or tail, of the edge
int
-
Constructor Details
-
DefaultGEdge
public DefaultGEdge(V start,
V end)
-
Method Details
-
getStart
Description copied from interface: GEdge
Get the start, or tail, of the edge
In the edge x -> y, x is the start
- Specified by:
getStart
in interface GEdge<V>
- Returns:
- the start
-
getEnd
Description copied from interface: GEdge
Get the end, or head, of the edge
In the edge x -> y, y is the end
- Specified by:
getEnd
in interface GEdge<V>
- Returns:
- the end
-
-
-