Interface SymmetricMultiGraph<V,E extends Edge<V>,Ex extends Exception>

Type Parameters:
Ex - An arbitrary exception type that may be thrown
All Superinterfaces:
MultiGraph<V,E,Ex>
All Known Subinterfaces:
SymmetricGraph<V,E,Ex>
All Known Implementing Classes:
TrivialGraph

public interface SymmetricMultiGraph<V,E extends Edge<V>,Ex extends Exception> extends MultiGraph<V,E,Ex>
A multi graph where each edge has an edge in the opposite direction.
Author:
AO Industries, Inc.
  • Method Details

    • getEdgesTo

      Collection<E> getEdgesTo(V to) throws Ex
      Gets the edges to the provided vertex. The vertex must be part of this graph, and the results are undefined if it is not.
      Throws:
      Ex