Package org.opentcs.data.order
Klasse Route
java.lang.Object
org.opentcs.data.order.Route
- Alle implementierten Schnittstellen:
Serializable
A route for a
Vehicle
, consisting of a sequence of steps (pairs of Path
s and
Point
s) that need to be processed in their given order.- Siehe auch:
-
Verschachtelte Klassen - Übersicht
-
Konstruktorübersicht
-
Methodenübersicht
-
Konstruktordetails
-
Route
Creates a new Route.- Parameter:
routeSteps
- The sequence of steps this route consists of.routeCosts
- The costs for travelling this route.
-
-
Methodendetails
-
getSteps
Returns the sequence of steps this route consists of.- Gibt zurück:
- The sequence of steps this route consists of.
May be empty.
The returned
List
is unmodifiable.
-
getCosts
public long getCosts()Returns the costs for travelling this route.- Gibt zurück:
- The costs for travelling this route.
-
getFinalDestinationPoint
Returns the final destination point that is reached by travelling this route. (I.e. returns the destination point of this route's last step.)- Gibt zurück:
- The final destination point that is reached by travelling this route.
-
equals
-
hashCode
public int hashCode() -
toString
-