Class VehicleTypeKey
java.lang.Object
com.graphhopper.jsprit.core.problem.AbstractVehicle.AbstractTypeKey
com.graphhopper.jsprit.core.problem.vehicle.VehicleTypeKey
- All Implemented Interfaces:
HasIndex
Key to identify similar vehicles
Two vehicles are equal if they share the same type, the same start and end-location and the same earliestStart and latestStart.
- Author:
- stefan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVehicleTypeKey(String typeId, String startLocationId, String endLocationId, double earliestStart, double latestEnd, Skills skills, boolean returnToDepot) -
Method Summary
Methods inherited from class com.graphhopper.jsprit.core.problem.AbstractVehicle.AbstractTypeKey
getIndex, setIndex
-
Field Details
-
type
-
startLocationId
-
endLocationId
-
earliestStart
public final double earliestStart -
latestEnd
public final double latestEnd -
skills
-
returnToDepot
public final boolean returnToDepot
-
-
Constructor Details
-
VehicleTypeKey
-
-
Method Details