Class Connection.DirectedConnection<V>
java.lang.Object
com.github.yellowstonegames.path.Edge<V>
com.github.yellowstonegames.path.Connection<V>
com.github.yellowstonegames.path.Connection.DirectedConnection<V>
- Type Parameters:
V- the vertex type; oftenCoord
- Enclosing class:
Connection<V>
A Connection that treats A-to-B as a different edge from B-to-A.
-
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
-
DirectedConnection
public DirectedConnection()
-
-
Method Details
-
hasEndpoints
- Specified by:
hasEndpointsin classEdge<V>
-
equals
-
hashCode
-
toString
-