public interface TourActivity extends HasIndex
A tour activity is the basic element of a tour, which is consequently a sequence of tour-activities.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TourActivity.JobActivity
Basic interface of job-activies.
|
| Modifier and Type | Method and Description |
|---|---|
TourActivity |
duplicate()
Makes a deep copy of this activity.
|
double |
getArrTime()
Returns the arrival-time of this activity.
|
double |
getEndTime()
Returns end-time of this activity.
|
Location |
getLocation()
Returns location.
|
String |
getName()
Returns the name of this activity.
|
double |
getOperationTime()
Returns the operation-time this activity takes.
|
Capacity |
getSize()
Returns the capacity-demand of that activity, in terms of what needs to be loaded or unloaded at
this activity.
|
double |
getTheoreticalEarliestOperationStartTime()
Returns the theoretical earliest operation start time, which is the time that is just allowed
(not earlier) to start this activity, that is for example
service.getTimeWindow().getStart(). |
double |
getTheoreticalLatestOperationStartTime()
Returns the theoretical latest operation start time, which is the time that is just allowed
(not later) to start this activity, that is for example
service.getTimeWindow().getEnd(). |
void |
setArrTime(double arrTime)
Sets the arrival time of that activity.
|
void |
setEndTime(double endTime)
Sets the end-time of this activity.
|
void |
setTheoreticalEarliestOperationStartTime(double earliest) |
void |
setTheoreticalLatestOperationStartTime(double latest) |
void setTheoreticalEarliestOperationStartTime(double earliest)
void setTheoreticalLatestOperationStartTime(double latest)
String getName()
Location getLocation()
double getTheoreticalEarliestOperationStartTime()
service.getTimeWindow().getStart().double getTheoreticalLatestOperationStartTime()
service.getTimeWindow().getEnd().double getOperationTime()
Note that this is not necessarily the duration of this activity, but the
service time a pickup/delivery actually takes, that is for example service.getServiceTime().
double getArrTime()
double getEndTime()
void setArrTime(double arrTime)
arrTime - void setEndTime(double endTime)
endTime - Capacity getSize()
TourActivity duplicate()
Copyright © 2013–2020. All rights reserved.