public interface CommonParams<T extends CommonParams>
CommonParamsBuilder
class.Modifier and Type | Method and Description |
---|---|
T |
withAccelerationEfficiency(java.lang.Double accelerationEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to kinetic
energy when the vehicle accelerates (i.e., KineticEnergyGained/ChemicalEnergyConsumed).
|
T |
withAuxiliaryPowerInKW(java.lang.Double auxiliaryPowerInKW)
Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW).
|
T |
withAuxiliaryPowerInLitersPerHour(java.lang.Double auxiliaryPowerInLitersPerHour)
Specifies the amount of fuel consumed for sustaining auxiliary systems of the vehicle in
liters per hour.
|
T |
withAvoidType(Avoid avoidType)
Specifies what the route calculation should try to avoid when determining the route.
|
T |
withConsiderTraffic(java.lang.Boolean considerTraffic)
Specifies if all available traffic information should be considered during routing.
|
T |
withConstantSpeedConsumptionInKWhPerHundredKm(SpeedToConsumptionMap constantSpeedConsumptionInKWhPerHundredKm)
Specifies the speed-dependent component of consumption.
|
T |
withConstantSpeedConsumptionInLitersPerHundredKm(SpeedToConsumptionMap constantSpeedConsumptionInLitersPerHundredKm)
Specifies the speed-dependent component of consumption.
|
T |
withCurrentChargeInKWh(java.lang.Double currentChargeInKWh)
Specifies the current electric energy supply in kilowatt hours (kWh).
|
T |
withCurrentFuelInLiters(java.lang.Double currentFuelInLiters)
Specifies the current supply of fuel in liters.
|
T |
withDecelerationEfficiency(java.lang.Double decelerationEfficiency)
Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the
vehicle decelerates (i.e., ChemicalEnergySaved/KineticEnergyLost).
|
T |
withDepartAt(java.util.Date departAt)
Specifies the departure time.
|
T |
withDownhillEfficiency(java.lang.Double downhillEfficiency)
Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the
vehicle loses elevation (i.e., ChemicalEnergySaved/PotentialEnergyLost).
|
T |
withFuelEnergyDensityInMJoulesPerLiter(java.lang.Double fuelEnergyDensityInMJoulesPerLiter)
Specifies the amount of chemical energy stored in one liter of fuel in megajoules (MJ).
|
T |
withHilliness(Hilliness hilliness)
Specifies the hilliness type for route calculation.
|
T |
withIsVehicleCommercial(java.lang.Boolean isVehicleCommercial)
Specifies if the vehicle is used for commercial purposes to calculate route.
|
T |
withMaxChargeInKWh(java.lang.Double maxChargeInKWh)
Specifies the capacity of the vehicle's battery in kilowatt hours (kWh).
|
T |
withRouteType(RouteType routeType)
Specifies the route type.
|
T |
withTravelMode(TravelMode travelMode)
Specifies the travel mode for route calculation.
|
T |
withUphillEfficiency(java.lang.Double uphillEfficiency)
Specifies the efficiency of converting chemical energy stored in fuel to potential energy
when the vehicle gains elevation (i.e., PotentialEnergyGained/ChemicalEnergyConsumed).
|
T |
withVehicleAxleWeightInKg(java.lang.Integer vehicleAxleWeightInKg)
Specifies the vehicle axle weight for route calculation.
|
T |
withVehicleEngineType(VehicleEngineType vehicleEngineType)
Specifies the vehicle engine type for route query.
|
T |
withVehicleHeightInMeters(java.lang.Double vehicleHeightInMeters)
Specifies the vehicle height for route calculation.
|
T |
withVehicleLengthInMeters(java.lang.Double vehicleLengthInMeters)
Specifies the vehicle length for route calculation.
|
T |
withVehicleLoadType(VehicleLoadType vehicleLoadType)
Specifies the vehicle load type for route calculation.
|
T |
withVehicleMaxSpeedInKph(java.lang.Integer vehicleMaxSpeedInKph)
Specifies the vehicle max speed for route calculation.
|
T |
withVehicleWeightInKg(java.lang.Integer vehicleWeightInKg)
Specifies the vehicle weight in kilograms for route calculation.
|
T |
withVehicleWidthInMeters(java.lang.Double vehicleWidthInMeters)
Specifies the vehicle width for route calculation.
|
T |
withWindingness(Windingness windingness)
Specifies the windingness type for route calculation.
|
T withDepartAt(java.util.Date departAt)
departAt
- T withRouteType(RouteType routeType)
routeType
- T withConsiderTraffic(java.lang.Boolean considerTraffic)
considerTraffic
- T withAvoidType(Avoid avoidType)
avoidType
- T withTravelMode(TravelMode travelMode)
travelMode
- T withHilliness(Hilliness hilliness)
hilliness
- T withWindingness(Windingness windingness)
windingness
- T withVehicleMaxSpeedInKph(java.lang.Integer vehicleMaxSpeedInKph)
vehicleMaxSpeedInKph
- T withVehicleWeightInKg(java.lang.Integer vehicleWeightInKg)
vehicleWeightInKg
- T withVehicleAxleWeightInKg(java.lang.Integer vehicleAxleWeightInKg)
vehicleAxleWeightInKg
- T withVehicleLengthInMeters(java.lang.Double vehicleLengthInMeters)
vehicleLengthInMeters
- T withVehicleWidthInMeters(java.lang.Double vehicleWidthInMeters)
vehicleWidthInMeters
- T withVehicleHeightInMeters(java.lang.Double vehicleHeightInMeters)
vehicleHeightInMeters
- T withIsVehicleCommercial(java.lang.Boolean isVehicleCommercial)
isVehicleCommercial
- T withVehicleLoadType(VehicleLoadType vehicleLoadType)
vehicleLoadType
- T withVehicleEngineType(VehicleEngineType vehicleEngineType)
vehicleEngineType
- T withConstantSpeedConsumptionInLitersPerHundredKm(SpeedToConsumptionMap constantSpeedConsumptionInLitersPerHundredKm)
constantSpeedConsumptionInLitersPerHundredKm
- constraints: size - [1, 25], consumption
value - [0.01, 100000.0]T withCurrentFuelInLiters(java.lang.Double currentFuelInLiters)
currentFuelInLiters
- T withAuxiliaryPowerInLitersPerHour(java.lang.Double auxiliaryPowerInLitersPerHour)
auxiliaryPowerInLitersPerHour
- T withFuelEnergyDensityInMJoulesPerLiter(java.lang.Double fuelEnergyDensityInMJoulesPerLiter)
fuelEnergyDensityInMJoulesPerLiter
- T withAccelerationEfficiency(java.lang.Double accelerationEfficiency)
#withDecelerationEfficiency(double)
.
If used, #withVehicleWeightInKg(int)
has to be used as well.accelerationEfficiency
- valid values: [0.0, 1/decelerationEfficiency]T withDecelerationEfficiency(java.lang.Double decelerationEfficiency)
#withAccelerationEfficiency(double)
.
If used, #withVehicleWeightInKg(int)
has to be used as well.decelerationEfficiency
- valid values: [0.0, 1/accelerationEfficiency]T withUphillEfficiency(java.lang.Double uphillEfficiency)
#withDownhillEfficiency(double)
.
If used, #withVehicleWeightInKg(int)
has to be used as well.uphillEfficiency
- valid values: [0.0, 1/downhillEfficiency]T withDownhillEfficiency(java.lang.Double downhillEfficiency)
#withUphillEfficiency(double)
.
If used, #withVehicleWeightInKg(int)
has to be used as well.downhillEfficiency
- valid values: [0.0, 1/uphillEfficiency]T withConstantSpeedConsumptionInKWhPerHundredKm(SpeedToConsumptionMap constantSpeedConsumptionInKWhPerHundredKm)
constantSpeedConsumptionInKWhPerHundredKm
- constraints: size - [1, 25], consumption
value - [0.01, 100000.0]T withCurrentChargeInKWh(java.lang.Double currentChargeInKWh)
#withMaxChargeInKWh(double)
.currentChargeInKWh
- T withMaxChargeInKWh(java.lang.Double maxChargeInKWh)
#withCurrentChargeInKWh(double)
.maxChargeInKWh
- T withAuxiliaryPowerInKW(java.lang.Double auxiliaryPowerInKW)
auxiliaryPowerInKW
-