Package dev.nm.graph
Interface Edge<V>
-
- Type Parameters:
V- vertex type
- All Superinterfaces:
HyperEdge<V>
- All Known Subinterfaces:
Arc<V>,UndirectedEdge<V>,WeightedArc<V>
- All Known Implementing Classes:
SimpleArc,SimpleEdge
public interface Edge<V> extends HyperEdge<V>
An edge connects a pair of vertices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vneighbor(V vertex)Gets the neighboring vertex connected tovertex.
-