Class VehicleTypeImpl
java.lang.Object
com.graphhopper.jsprit.core.problem.vehicle.VehicleTypeImpl
- All Implemented Interfaces:
VehicleType
- Author:
- schroeder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder that builds the vehicle-type.static classCostParameter consisting of fixed cost parameter, time-based cost parameter and distance-based cost parameter. -
Method Summary
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getUserData
- Specified by:
getUserDatain interfaceVehicleType- Returns:
- User-specific domain data associated with the vehicle
-
getTypeId
Description copied from interface:VehicleTypeReturns typeId.- Specified by:
getTypeIdin interfaceVehicleType- Returns:
- typeId
-
getVehicleCostParams
Description copied from interface:VehicleTypeReturn the cost-parameter of this vehicle-type.- Specified by:
getVehicleCostParamsin interfaceVehicleType- Returns:
- parameter
-
toString
-
getMaxVelocity
public double getMaxVelocity()Description copied from interface:VehicleTypeReturns maximum velocity of this vehicle-type.- Specified by:
getMaxVelocityin interfaceVehicleType- Returns:
- max velocity
-
getCapacityDimensions
Description copied from interface:VehicleTypeReturns capacity dimensions.- Specified by:
getCapacityDimensionsin interfaceVehicleType- Returns:
Capacity
-
getProfile
- Specified by:
getProfilein interfaceVehicleType
-