Package graphs
Interface Graph<V>
-
- Type Parameters:
V
- the type of vertices.
- All Known Subinterfaces:
AStarGraph<V>
- All Known Implementing Classes:
AdjacencyListSeamFinder.PixelGraph
,GenerativeSeamFinder.PixelGraph
,MapGraph
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Graph<V>
Directed, edge-weighted graph.- See Also:
Edge
,ShortestPathSolver
,AStarGraph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Edge<V>>
neighbors(V vertex)
Returns a list of the outgoing edges from the given vertex.
-