public class PlanningVehicle extends Object implements Standstill
| Constructor and Description |
|---|
PlanningVehicle() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCapacity() |
PlanningDepot |
getDepot() |
Iterable<PlanningVisit> |
getFutureVisits() |
long |
getId() |
PlanningLocation |
getLocation()
The standstill's location.
|
PlanningVisit |
getNextVisit()
The next visit after this standstill.
|
void |
setCapacity(int capacity) |
void |
setDepot(PlanningDepot depot) |
void |
setId(long id) |
void |
setNextVisit(PlanningVisit nextVisit) |
String |
toString() |
public long getId()
public void setId(long id)
public int getCapacity()
public void setCapacity(int capacity)
public PlanningDepot getDepot()
public void setDepot(PlanningDepot depot)
public PlanningVisit getNextVisit()
StandstillgetNextVisit in interface Standstillnullpublic void setNextVisit(PlanningVisit nextVisit)
setNextVisit in interface Standstillpublic Iterable<PlanningVisit> getFutureVisits()
public PlanningLocation getLocation()
StandstillgetLocation in interface StandstillnullCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.