Class DirectedGraph<V>

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

public class DirectedGraph<V>
extends Graph<V>
implements Serializable
A kind of Graph where all connections between vertices are one-way (but a connection may exist that goes from A to B and another connection may go from B to A), and each connection can have a different cost.
Author:
earlygrey
See Also:
The CostlyGraph class supports the common case where V is Coord and all costs are based on the cell being entered., Serialized Form