basics.route
Class ServiceActivity
java.lang.Object
basics.route.ServiceActivity
- All Implemented Interfaces:
- TourActivity, TourActivity.JobActivity<Service>
public class ServiceActivity
- extends java.lang.Object
- implements TourActivity.JobActivity<Service>
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
counter
public static int counter
arrTime
public double arrTime
endTime
public double endTime
capacityDemand
public int capacityDemand
getArrTime
public double getArrTime()
- Specified by:
getArrTime in interface TourActivity
- Returns:
- the arrTime
setArrTime
public void setArrTime(double arrTime)
- Specified by:
setArrTime in interface TourActivity
- Parameters:
arrTime - the arrTime to set
getEndTime
public double getEndTime()
- Specified by:
getEndTime in interface TourActivity
- Returns:
- the endTime
setEndTime
public void setEndTime(double endTime)
- Specified by:
setEndTime in interface TourActivity
- Parameters:
endTime - the endTime to set
copyOf
public static ServiceActivity copyOf(ServiceActivity serviceActivity)
newInstance
public static ServiceActivity newInstance(Service service)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getTheoreticalEarliestOperationStartTime
public double getTheoreticalEarliestOperationStartTime()
- Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
getTheoreticalLatestOperationStartTime
public double getTheoreticalLatestOperationStartTime()
- Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
getCapacityDemand
public int getCapacityDemand()
- Specified by:
getCapacityDemand in interface TourActivity
getOperationTime
public double getOperationTime()
- Specified by:
getOperationTime in interface TourActivity
getLocationId
public java.lang.String getLocationId()
- Specified by:
getLocationId in interface TourActivity
getJob
public Service getJob()
- Specified by:
getJob in interface TourActivity.JobActivity<Service>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getName
public java.lang.String getName()
- Specified by:
getName in interface TourActivity
duplicate
public TourActivity duplicate()
- Specified by:
duplicate in interface TourActivity