Class AbstractVehicle.AbstractTypeKey
java.lang.Object
com.graphhopper.jsprit.core.problem.AbstractVehicle.AbstractTypeKey
- All Implemented Interfaces:
HasIndex
- Direct Known Subclasses:
VehicleTypeKey
- Enclosing class:
AbstractVehicle
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractTypeKey
public AbstractTypeKey()
-
-
Method Details
-
getIndex
Deprecated.UseVehicleRoutingProblem.getVehicleTypeKeyIndex(VehicleTypeKey)instead. VehicleTypeKey indices are VRP-specific and should not be accessed directly from the type key. A VehicleTypeKey can have different indices in different VRP instances. -
setIndex
Deprecated.VehicleTypeKey indices are now managed by VehicleRoutingProblem. This method is no longer called by the framework.
-
VehicleRoutingProblem.getVehicleTypeKeyIndex(VehicleTypeKey)instead.