Uses of Class
squidpony.squidai.graph.Edge
| Package | Description |
|---|---|
| squidpony.squidai.graph |
Graphs and graph algorithms used primarily (but not exclusively) for pathfinding.
|
-
Uses of Edge in squidpony.squidai.graph
Subclasses of Edge in squidpony.squidai.graph Modifier and Type Class Description classConnection<V>The most-commonly-used class that represents an edge between nodes on a Graph.static classConnection.DirectedConnection<V>A Connection that treats A-to-B as a different edge from B-to-A.static classConnection.UndirectedConnection<V>A Connection that treats A-to-B and B-to-A as the same edge.Methods in squidpony.squidai.graph that return Edge Modifier and Type Method Description Edge<V>Graph. getEdge(V v, V w)Retrieve the edge which is from v to w.Methods in squidpony.squidai.graph that return types with arguments of type Edge Modifier and Type Method Description SortedSet<? extends Edge<V>>Graph. getEdges()Get a collection containing all the edges in the graph.List<? extends Edge<V>>Graph. getEdges(V v)Get a collection containing all the edges which have v as a source.Methods in squidpony.squidai.graph with parameters of type Edge Modifier and Type Method Description booleanGraph. removeEdge(Edge<V> edge)