Class AbstractJob
java.lang.Object
com.graphhopper.jsprit.core.problem.AbstractJob
Created by schroeder on 14.07.14.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Deprecated.protected voidsetIndex(int index) Deprecated.Job indices are now managed by VehicleRoutingProblem.protected voidsetUserData(Object userData) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.graphhopper.jsprit.core.problem.job.Job
getActivities, getId, getJobType, getMaxTimeInVehicle, getName, getPriority, getRequiredSkills, getSize, isDeliveredToVehicleEnd, isPickedUpAtVehicleStart
-
Constructor Details
-
AbstractJob
public AbstractJob()
-
-
Method Details
-
getIndex
Deprecated.UseVehicleRoutingProblem.getJobIndex(Job)instead. Job indices are VRP-specific and should not be accessed directly from the job. A job can have different indices in different VRP instances. -
setIndex
Deprecated.Job indices are now managed by VehicleRoutingProblem. This method is no longer called by the framework. -
getUserData
- Returns:
- User-specific domain data associated by the job
-
setUserData
-
VehicleRoutingProblem.getJobIndex(Job)instead.