Interface Explorable<V,E>
- Type Parameters:
V- the vertex typeE- the edge type
- All Known Subinterfaces:
Graph<V,E>
- All Known Implementing Classes:
HashGraph
public interface Explorable<V,E>
An explorable graph-like structure. The explorable interface defines the minimum operations used
to enable the exploration of a graph, whether in-memory or dynamically-generated.
- Author:
- Lee A. Christie
-
Method Summary
-
Method Details
-
neighbours
-
edge
returns the edge between the specified pair of vertices.- Parameters:
from- the vertex for which this will be an out-edge, not nullto- the vertex for which this will be an in-edge, not null- Returns:
- the edge
- Throws:
NoSuchElementException- if the edge does not exist between from and to
-