Uses of Interface
com.graphhopper.jsprit.core.problem.vehicle.Vehicle
Packages that use Vehicle
Package
Description
-
Uses of Vehicle in com.graphhopper.jsprit.core.algorithm.recreate
Fields in com.graphhopper.jsprit.core.algorithm.recreate declared as VehicleModifier and TypeFieldDescriptionprotected static final VehicleAbstractInsertionStrategy.NO_NEW_VEHICLE_YETMethods in com.graphhopper.jsprit.core.algorithm.recreate that return VehicleModifier and TypeMethodDescriptionInsertionData.getSelectedVehicle()Returns the vehicle to be employed.Methods in com.graphhopper.jsprit.core.algorithm.recreate with parameters of type VehicleModifier and TypeMethodDescriptionprotected voidAbstractInsertionCalculator.addActivitiesAndVehicleSwitch(InsertionData insertionData, VehicleRoute route, Vehicle vehicle, TourActivity firstActivity, int firstActivityIndex, TourActivity secondActivity, int secondActivityIndex, double departureTime) Adds events to insertion data for a job that requires two activities (like Shipment)protected voidAbstractInsertionCalculator.addActivityAndVehicleSwitch(InsertionData insertionData, VehicleRoute route, Vehicle vehicle, TourActivity activity, int activityIndex, double departureTime) Adds events to insertion data for a job that requires a single activity (like Service)protected EndAbstractInsertionCalculator.createEndActivity(Vehicle vehicle) Creates an End activity for a vehicleprotected StartAbstractInsertionCalculator.createStartActivity(Vehicle vehicle, double departureTime) Creates a Start activity for a vehicle at a given departure timedefault List<InsertionData> JobInsertionCostsCalculator.getAllInsertionPositions(VehicleRoute currentRoute, Job newJob, Vehicle newVehicle, double newVehicleDepartureTime, Driver newDriver) Returns all feasible insertion positions for a job in a route with specific vehicle.JobInsertionCostsCalculator.getInsertionData(VehicleRoute currentRoute, Job newJob, Vehicle newVehicle, double newVehicleDepartureTime, Driver newDriver, double bestKnownCosts) ShipmentInsertionCalculatorFlex.getInsertionData(VehicleRoute currentRoute, Job jobToInsert, Vehicle newVehicle, double newVehicleDepartureTime, Driver newDriver, double bestKnownCosts) Calculates the marginal cost of inserting job i locally.voidVehicleSwitched.vehicleSwitched(VehicleRoute vehicleRoute, Vehicle oldVehicle, Vehicle newVehicle) Constructors in com.graphhopper.jsprit.core.algorithm.recreate with parameters of type VehicleModifierConstructorDescriptionInsertionData(double insertionCost, int pickupInsertionIndex, int deliveryInsertionIndex, Vehicle vehicle, Driver driver) -
Uses of Vehicle in com.graphhopper.jsprit.core.algorithm.recreate.listener
Methods in com.graphhopper.jsprit.core.algorithm.recreate.listener with parameters of type VehicleModifier and TypeMethodDescriptionvoidInsertionListeners.informVehicleSwitched(VehicleRoute route, Vehicle oldVehicle, Vehicle newVehicle) voidVehicleSwitchedListener.vehicleSwitched(VehicleRoute vehicleRoute, Vehicle oldVehicle, Vehicle newVehicle) -
Uses of Vehicle in com.graphhopper.jsprit.core.algorithm.state
Methods in com.graphhopper.jsprit.core.algorithm.state that return types with arguments of type VehicleModifier and TypeMethodDescriptionUpdateVehicleDependentPracticalTimeWindows.VehiclesToUpdate.get(VehicleRoute route) Methods in com.graphhopper.jsprit.core.algorithm.state with parameters of type VehicleModifier and TypeMethodDescription<T> TStateManager.getActivityState(TourActivity act, Vehicle vehicle, StateId stateId, Class<T> type) Returns the associated state value to the specified activity, vehicle and stateId, or null if no state value is associated.<T> TStateManager.getRouteState(VehicleRoute route, Vehicle vehicle, StateId stateId, Class<T> type) Returns the route state that is assigned to the specified route, vehicle and stateId.booleanStateManager.hasActivityState(TourActivity act, Vehicle vehicle, StateId stateId) Returns true if a state value is associated to the specified activity, vehicle and stateId.booleanStateManager.hasRouteState(VehicleRoute route, Vehicle vehicle, StateId stateId) Returns true if a state is assigned to the specified route, vehicle and stateId.<T> voidStateManager.putActivityState(TourActivity act, Vehicle vehicle, StateId stateId, T state) Associates the specified activity, vehicle and stateId to the state value.<T> voidStateManager.putRouteState(VehicleRoute route, Vehicle vehicle, StateId stateId, T state) Associates the specified route, vehicle and stateId to the state value.Constructor parameters in com.graphhopper.jsprit.core.algorithm.state with type arguments of type VehicleModifierConstructorDescriptionVehicleDependentTraveledDistance(TransportDistance transportCostMatrices, StateManager stateManager, StateId distanceInRouteId, Collection<Vehicle> vehicles) -
Uses of Vehicle in com.graphhopper.jsprit.core.problem
Classes in com.graphhopper.jsprit.core.problem that implement VehicleModifier and TypeClassDescriptionclassAbstractVehicle to handle indeces of vehicles.Methods in com.graphhopper.jsprit.core.problem that return VehicleModifier and TypeMethodDescriptionVehicleRoutingProblem.getVehicleByIndex(int index) Returns the vehicle at the given index.Methods in com.graphhopper.jsprit.core.problem that return types with arguments of type VehicleModifier and TypeMethodDescriptionVehicleRoutingProblem.Builder.getAddedVehicles()Gets an unmodifiable collection of already added vehicles.VehicleRoutingProblem.getVehicles()Returns the entire, unmodifiable collection of vehicles.Methods in com.graphhopper.jsprit.core.problem with parameters of type VehicleModifier and TypeMethodDescriptionVehicleRoutingProblem.Builder.addVehicle(Vehicle vehicle) Adds a vehicle.intVehicleRoutingProblem.getVehicleIndex(Vehicle vehicle) Returns the index of the given vehicle within this VRP.Method parameters in com.graphhopper.jsprit.core.problem with type arguments of type VehicleModifier and TypeMethodDescriptionVehicleRoutingProblem.Builder.addAllVehicles(Collection<? extends Vehicle> vehicles) Adds a collection of vehicles. -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.constraint
Constructor parameters in com.graphhopper.jsprit.core.problem.constraint with type arguments of type VehicleModifierConstructorDescriptionMaxDistanceConstraint(StateManager stateManager, StateId distanceId, TransportDistance distanceCalculator, Map<Vehicle, Double> maxDistancePerVehicleMap) Deprecated.MaxDistanceConstraint(StateManager stateManager, StateId distanceId, TransportDistance distanceCalculator, Map<Vehicle, Double> maxDistancePerVehicleMap, VehicleRoutingProblem vrp) -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.cost
Methods in com.graphhopper.jsprit.core.problem.cost with parameters of type VehicleModifier and TypeMethodDescriptiondoubleVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, double arrivalTime, Driver driver, Vehicle vehicle) Calculates and returns the activity cost at tourAct.doubleWaitingTimeCosts.getActivityCost(TourActivity tourAct, double arrivalTime, Driver driver, Vehicle vehicle) doubleVehicleRoutingActivityCosts.getActivityDuration(TourActivity tourAct, double arrivalTime, Driver driver, Vehicle vehicle) default doubleVehicleRoutingActivityCosts.getActivityDuration(TourActivity prevAct, TourActivity tourAct, double arrivalTime, Driver driver, Vehicle vehicle) Calculates and returns the activity duration considering the previous activity.doubleWaitingTimeCosts.getActivityDuration(TourActivity tourAct, double arrivalTime, Driver driver, Vehicle vehicle) doubleAbstractForwardVehicleRoutingTransportCosts.getBackwardTransportCost(Location from, Location to, double arrivalTime, Driver driver, Vehicle vehicle) doubleBackwardTransportCost.getBackwardTransportCost(Location from, Location to, double arrivalTime, Driver driver, Vehicle vehicle) doubleAbstractForwardVehicleRoutingTransportCosts.getBackwardTransportTime(Location from, Location to, double arrivalTime, Driver driver, Vehicle vehicle) doubleBackwardTransportTime.getBackwardTransportTime(Location from, Location to, double arrivalTime, Driver driver, Vehicle vehicle) abstract doubleAbstractForwardVehicleRoutingTransportCosts.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleTransportDistance.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) abstract doubleAbstractForwardVehicleRoutingTransportCosts.getTransportCost(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) doubleForwardTransportCost.getTransportCost(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) abstract doubleAbstractForwardVehicleRoutingTransportCosts.getTransportTime(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) doubleForwardTransportTime.getTransportTime(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.misc
Methods in com.graphhopper.jsprit.core.problem.misc that return VehicleModifier and TypeMethodDescriptionJobInsertionContext.getNewVehicle()Returns the vehicle that should operate the new route, i.e.Constructors in com.graphhopper.jsprit.core.problem.misc with parameters of type VehicleModifierConstructorDescriptionJobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime) Constructs the context. -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.solution.route
Methods in com.graphhopper.jsprit.core.problem.solution.route that return VehicleModifier and TypeMethodDescriptionVehicleRoute.getVehicle()Returns the vehicle operating this route.Methods in com.graphhopper.jsprit.core.problem.solution.route with parameters of type VehicleModifier and TypeMethodDescriptionstatic VehicleRoute.BuilderVehicleRoute.Builder.newInstance(Vehicle vehicle) Returns new instance of this builder.static VehicleRoute.BuilderVehicleRoute.Builder.newInstance(Vehicle vehicle, Driver driver) Returns new instance of this builder.voidVehicleRoute.setVehicleAndDepartureTime(Vehicle vehicle, double vehicleDepTime) Sets the vehicle and its departureTime fromvehicle.getStartLocationId(). -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.solution.route.state
Methods in com.graphhopper.jsprit.core.problem.solution.route.state with parameters of type VehicleModifier and TypeMethodDescription<T> TRouteAndActivityStateGetter.getActivityState(TourActivity act, Vehicle vehicle, StateId stateId, Class<T> type) <T> TRouteAndActivityStateGetter.getRouteState(VehicleRoute route, Vehicle vehicle, StateId stateId, Class<T> type) -
Uses of Vehicle in com.graphhopper.jsprit.core.problem.vehicle
Classes in com.graphhopper.jsprit.core.problem.vehicle that implement VehicleModifier and TypeClassDescriptionclassImplementation ofVehicle.static classExtension ofVehicleImplrepresenting an unspecified vehicle with the id 'noVehicle' (to avoid null).Methods in com.graphhopper.jsprit.core.problem.vehicle that return VehicleModifier and TypeMethodDescriptionstatic VehicleReturns a simple copy of vehicle.VehicleFleetManager.getAvailableVehicle(VehicleTypeKey vehicleTypeIdentifier) Methods in com.graphhopper.jsprit.core.problem.vehicle that return types with arguments of type VehicleModifier and TypeMethodDescriptionVehicleFleetManager.getAvailableVehicles()Returns a collection of available vehicles.VehicleFleetManager.getAvailableVehicles(Vehicle withoutThisType) Methods in com.graphhopper.jsprit.core.problem.vehicle with parameters of type VehicleModifier and TypeMethodDescriptionstatic VehicleReturns a simple copy of vehicle.VehicleFleetManager.getAvailableVehicles(Vehicle withoutThisType) booleanReturns true if locked.voidLocks vehicle.static VehicleImpl.BuilderVehicleImpl.Builder.newInstance(Vehicle baseVehicle) Returns new instance of vehicle builder and initializes every attribute with a attributes of baseVehiclevoidUnlocks vehicle.Constructor parameters in com.graphhopper.jsprit.core.problem.vehicle with type arguments of type VehicleModifierConstructorDescriptionFiniteFleetManagerFactory(Collection<Vehicle> vehicles) Constucts the factory.InfiniteFleetManagerFactory(Collection<Vehicle> vehicles) Constructs the factory. -
Uses of Vehicle in com.graphhopper.jsprit.core.util
Methods in com.graphhopper.jsprit.core.util with parameters of type VehicleModifier and TypeMethodDescriptiondoubleEuclideanCosts.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleFastVehicleRoutingTransportCostsMatrix.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleGreatCircleCosts.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleManhattanCosts.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleVehicleRoutingTransportCostsMatrix.getDistance(Location from, Location to, double departureTime, Vehicle vehicle) doubleEuclideanCosts.getTransportCost(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleFastVehicleRoutingTransportCostsMatrix.getTransportCost(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) doubleGreatCircleCosts.getTransportCost(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleManhattanCosts.getTransportCost(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleVehicleRoutingTransportCostsMatrix.getTransportCost(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) doubleEuclideanCosts.getTransportTime(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleFastVehicleRoutingTransportCostsMatrix.getTransportTime(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle) doubleGreatCircleCosts.getTransportTime(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleManhattanCosts.getTransportTime(Location from, Location to, double time, Driver driver, Vehicle vehicle) doubleVehicleRoutingTransportCostsMatrix.getTransportTime(Location from, Location to, double departureTime, Driver driver, Vehicle vehicle)
MaxDistanceConstraint(StateManager, StateId, TransportDistance, Map, VehicleRoutingProblem)instead.