public class Route extends Object
| Constructor and Description |
|---|
Route(Location depot,
List<Location> visits)
Create a vehicle route.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
depot()
Depot in which the route starts and ends.
|
String |
toString() |
List<Location> |
visits()
List of vehicle's visits (not including the depot).
|
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.