public interface TypedEdge<T> extends Edge
!e1.equals(e2)
.
This interface allows for a multigraph to have mutliple types of edges that extend from a common type. For example, a graph that represents cities may contain edges indicating the different types of transportation (e.g. car, train, bus) between two cities, where those types each have their own subtypes (e.g., airline carrier, bus company, etc.)
Multigraph
Copyright © 2012. All Rights Reserved.