Class WeightedIntrusiveEdgesSpecifics<V,​E>

java.lang.Object
org.jgrapht.graph.BaseIntrusiveEdgesSpecifics<V,​E,​org.jgrapht.graph.IntrusiveWeightedEdge>
org.jgrapht.graph.WeightedIntrusiveEdgesSpecifics<V,​E>
Type Parameters:
V - the graph vertex type
E - the graph edge type
All Implemented Interfaces:
java.io.Serializable, IntrusiveEdgesSpecifics<V,​E>

public class WeightedIntrusiveEdgesSpecifics<V,​E>
extends BaseIntrusiveEdgesSpecifics<V,​E,​org.jgrapht.graph.IntrusiveWeightedEdge>
implements IntrusiveEdgesSpecifics<V,​E>
A weighted variant of the intrusive edges specifics.

The implementation optimizes the use of DefaultWeightedEdge and subclasses. For other custom user edge types, a map is used to store vertex source, target and weight.

Author:
Barak Naveh, Dimitrios Michail
See Also:
Serialized Form