Class VehicleTypeKey

java.lang.Object
com.graphhopper.jsprit.core.problem.AbstractVehicle.AbstractTypeKey
com.graphhopper.jsprit.core.problem.vehicle.VehicleTypeKey
All Implemented Interfaces:
HasIndex

public class VehicleTypeKey extends AbstractVehicle.AbstractTypeKey
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 Details

    • type

      public final String type
    • startLocationId

      public final String startLocationId
    • endLocationId

      public final String endLocationId
    • earliestStart

      public final double earliestStart
    • latestEnd

      public final double latestEnd
    • skills

      public final Skills skills
    • returnToDepot

      public final boolean returnToDepot
  • Constructor Details

    • VehicleTypeKey

      public VehicleTypeKey(String typeId, String startLocationId, String endLocationId, double earliestStart, double latestEnd, Skills skills, boolean returnToDepot)
  • Method Details