Class UndirectedGraph<V>

java.lang.Object
squidpony.squidai.graph.Graph<V>
squidpony.squidai.graph.UndirectedGraph<V>
Type Parameters:
V - the vertex type; often Coord
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DefaultGraph

public class UndirectedGraph<V>
extends Graph<V>
implements Serializable
A kind of Graph where all connections between vertices are two-way and have equal cost for traveling A to B or B to A.
Author:
earlygrey
See Also:
The DefaultGraph class supports the common case where V is Coord and all costs are 1., Serialized Form