Class VehicleTypeImpl.VehicleCostParams

java.lang.Object
com.graphhopper.jsprit.core.problem.vehicle.VehicleTypeImpl.VehicleCostParams
Enclosing class:
VehicleTypeImpl

public static class VehicleTypeImpl.VehicleCostParams extends Object
CostParameter consisting of fixed cost parameter, time-based cost parameter and distance-based cost parameter.
Author:
schroeder
  • Field Details

    • fix

      public final double fix
    • perTransportTimeUnit

      public final double perTransportTimeUnit
    • perDistanceUnit

      public final double perDistanceUnit
    • perWaitingTimeUnit

      public final double perWaitingTimeUnit
    • perServiceTimeUnit

      public final double perServiceTimeUnit
  • Constructor Details

    • VehicleCostParams

      public VehicleCostParams(double fix, double perTimeUnit, double perDistanceUnit, double perWaitingTimeUnit)
    • VehicleCostParams

      public VehicleCostParams(double fix, double perTimeUnit, double perDistanceUnit, double perWaitingTimeUnit, double perServiceTimeUnit)
  • Method Details