Class Connection.UndirectedConnection<V>
java.lang.Object
com.github.yellowstonegames.path.Edge<V>
com.github.yellowstonegames.path.Connection<V>
com.github.yellowstonegames.path.Connection.UndirectedConnection<V>
- Type Parameters:
V- the vertex type; oftenCoord
- Enclosing class:
Connection<V>
A Connection that treats A-to-B and B-to-A as the same edge.
-
Nested Class Summary
Nested classes/interfaces inherited from class Connection
Connection.DirectedConnection<V>, Connection.UndirectedConnection<V> -
Field Summary
Fields inherited from class Connection
a, b, DEFAULT_WEIGHT, weight -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Connection
getA, getB, getInternalNodeA, getInternalNodeB, getNodeA, getNodeB, getWeight, set, setWeightMethods inherited from class Edge
hasEndpoint
-
Constructor Details
-
UndirectedConnection
public UndirectedConnection()
-
-
Method Details
-
hasEndpoints
- Specified by:
hasEndpointsin classEdge<V>
-
equals
-
hashCode
-
toString
-