Klasse Edge
java.lang.Object
org.opentcs.components.kernel.routing.Edge
A wrapper for
Path
s that can be used to build routing graphs.-
Konstruktorübersicht
-
Methodenübersicht
-
Konstruktordetails
-
Edge
Creates a new instance.- Parameter:
modelPath
- The path in the model that is traversed on this edge.travellingReverse
- Whether the path is travelled in reverse direction.
-
-
Methodendetails
-
getPath
Returns the path in the model that is traversed on this edge.- Gibt zurück:
- The path in the model that is traversed on this edge.
-
isTravellingReverse
public boolean isTravellingReverse()Indicates whether the path is travelled in reverse direction.- Gibt zurück:
- Whether the path is travelled in reverse direction.
-
getSourceVertex
Returns the source vertex of this edge.- Gibt zurück:
- The source vertex of this edge.
-
getTargetVertex
Returns the target vertex of this edge.- Gibt zurück:
- The target vertex of this edge.
-
toString
-