Uses of Interface
com.graphhopper.jsprit.core.problem.job.Job
Packages that use Job
Package
Description
-
Uses of Job in com.graphhopper.jsprit.core.algorithm.listener
Methods in com.graphhopper.jsprit.core.algorithm.listener with parameters of type JobModifier and TypeMethodDescriptionvoidAlgorithmEventAdapter.informJobInserted(Job job, VehicleRoute inRoute, InsertionData insertionData) voidAlgorithmEventAdapter.informJobUnassigned(Job unassigned, Collection<String> failedConstraintNames) voidAlgorithmEventAdapter.removed(Job job, VehicleRoute fromRoute) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.listener.events
Methods in com.graphhopper.jsprit.core.algorithm.listener.events that return JobModifier and TypeMethodDescriptionInsertionEvaluated.job()Returns the value of thejobrecord component.JobInserted.job()Returns the value of thejobrecord component.JobRemoved.job()Returns the value of thejobrecord component.JobUnassigned.job()Returns the value of thejobrecord component.Methods in com.graphhopper.jsprit.core.algorithm.listener.events that return types with arguments of type JobModifier and TypeMethodDescriptionRuinCompleted.removedJobs()Returns the value of theremovedJobsrecord component.RecreateCompleted.unassignedJobs()Returns the value of theunassignedJobsrecord component.Constructors in com.graphhopper.jsprit.core.algorithm.listener.events with parameters of type JobModifierConstructorDescriptionInsertionEvaluated(int iteration, long timestamp, Job job, String routeId, int position, double cost, InsertionCostBreakdown breakdown, boolean feasible, List<String> failedConstraints, boolean chosen) Creates an instance of aInsertionEvaluatedrecord class.JobInserted(int iteration, long timestamp, Job job, String routeId, int position, double insertionCost, InsertionCostBreakdown costBreakdown, int insertionOrder) Creates an instance of aJobInsertedrecord class.JobRemoved(int iteration, long timestamp, Job job, String fromRouteId) Creates an instance of aJobRemovedrecord class.JobUnassigned(int iteration, long timestamp, Job job, Map<String, List<String>> failedConstraintsByRoute, String reason) Creates an instance of aJobUnassignedrecord class.Constructor parameters in com.graphhopper.jsprit.core.algorithm.listener.events with type arguments of type JobModifierConstructorDescriptionRecreateCompleted(int iteration, long timestamp, int insertedJobCount, List<Job> unassignedJobs, double newSolutionCost) Creates an instance of aRecreateCompletedrecord class.RuinCompleted(int iteration, long timestamp, List<Job> removedJobs, int affectedRouteCount) Creates an instance of aRuinCompletedrecord class. -
Uses of Job in com.graphhopper.jsprit.core.algorithm.recreate
Methods in com.graphhopper.jsprit.core.algorithm.recreate that return types with arguments of type JobModifier and TypeMethodDescriptionAbstractInsertionStrategy.insertJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) InsertionStrategy.insertJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) Inserts unassigned jobs into vehicle routes.abstract Collection<Job> AbstractInsertionStrategy.insertUnassignedJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) BestInsertion.insertUnassignedJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) BestInsertionConcurrent.insertUnassignedJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) CheapestInsertion.insertUnassignedJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) CheapestInsertionConcurrent.insertUnassignedJobs(Collection<VehicleRoute> vehicleRoutes, Collection<Job> unassignedJobs) PositionBasedRegretInsertion.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) PositionBasedRegretInsertionFast.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) RegretInsertion.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) Runs insertion.RegretInsertionConcurrent.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) Runs insertion.RegretInsertionConcurrentFast.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) Runs insertion.RegretInsertionFast.insertUnassignedJobs(Collection<VehicleRoute> routes, Collection<Job> unassignedJobs) Runs insertion.Methods in com.graphhopper.jsprit.core.algorithm.recreate with parameters of type JobModifier and TypeMethodDescriptiondefault List<InsertionData> JobInsertionCostsCalculator.getAllInsertionPositions(VehicleRoute currentRoute, Job newJob) Returns all feasible insertion positions for a job in a route, considering all available vehicles.default 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) JobInsertionCostsCalculatorLight.getInsertionData(Job unassignedJob, VehicleRoute route, 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.AdaptiveSpatialFilter.getNearestRoutes(Job job, Collection<VehicleRoute> routes, int limit) Gets the k nearest routes to a job based on minimum distance to any activity.AdaptiveSpatialFilter.getRelevantRoutes(Job job, Collection<VehicleRoute> routes) Decides whether to use filtering for this job and returns relevant routes.voidBreakScheduling.informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) voidConfigureLocalActivityInsertionCalculator.informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) voidDellAmicoFixCostCalculator.informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) protected voidAbstractInsertionStrategy.insertJob(Job unassignedJob, InsertionData iData, VehicleRoute inRoute) voidAbstractInsertionStrategy.markUnassigned(Job unassigned, List<String> reasons) voidBreakScheduling.removed(Job job, VehicleRoute fromRoute) doubleAverageRegretKScoringFunction.score(RegretKAlternatives alternatives, Job job) doubleDefaultRegretScoringFunction.score(InsertionData best, InsertionData secondBest, Job job) doubleDefaultScorer.score(InsertionData best, Job job) doubleMaxRegretKScoringFunction.score(RegretKAlternatives alternatives, Job job) doubleRegretKScoringFunction.score(RegretKAlternatives alternatives, Job job) Computes a score for a job based on its k-best insertion alternatives.doubleRegretKScoringFunctionAdapter.score(RegretKAlternatives alternatives, Job job) doubleRegretScoringFunction.score(InsertionData best, InsertionData secondBest, Job job) doubleScoringFunction.score(InsertionData best, Job job) doubleSumRegretKScoringFunction.score(RegretKAlternatives alternatives, Job job) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.recreate.listener
Methods in com.graphhopper.jsprit.core.algorithm.recreate.listener with parameters of type JobModifier and TypeMethodDescriptionvoidBeforeJobInsertionListener.informBeforeJobInsertion(Job job, InsertionData data, VehicleRoute route) voidInsertionListeners.informBeforeJobInsertion(Job job, InsertionData data, VehicleRoute route) voidInsertionListeners.informJobInserted(Job insertedJob, VehicleRoute inRoute, InsertionData insertionData) voidJobInsertedListener.informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) voidJobUnassignedListener.informJobUnassigned(Job unassigned, Collection<String> failedConstraintNames) voidInsertionListeners.informJobUnassignedListeners(Job unassigned, List<String> reasons) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.ruin
Methods in com.graphhopper.jsprit.core.algorithm.ruin that return types with arguments of type JobModifier and TypeMethodDescriptionprotected Collection<Job> AbstractRuinStrategy.filterJobs(Collection<Job> jobs) DBSCANClusterer.getClusters(VehicleRoute route) KruskalClusterer.getClusters(VehicleRoute route) Returns two clusters from the route by cutting the longest MST edge.JobNeighborhoods.getNearestNeighborsIterator(int nNeighbors, Job neighborTo) KruskalClusterer.getOneCluster(VehicleRoute route, boolean preferSmaller) Returns one cluster (randomly chosen or smaller) from the route.DBSCANClusterer.getRandomCluster(VehicleRoute route) AbstractRuinStrategy.ruin(Collection<VehicleRoute> vehicleRoutes) RuinStrategy.ruin(Collection<VehicleRoute> vehicleRoutes) Ruins a current solution, i.e.abstract Collection<Job> AbstractRuinStrategy.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) RuinClusters.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Removes a fraction of jobs from vehicleRoutes.RuinKruskalClusters.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) RuinRadial.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Ruins the collection of vehicleRoutes, i.e.RuinRadialDynamic.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Ruins the collection of vehicleRoutes by removing jobs in spatial proximity.RuinRadialMultipleCenters.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Deprecated.Ruins the collection of vehicleRoutes, i.e.RuinRandom.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Removes a fraction of jobs from vehicleRoutes.RuinString.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Ruins the collection of vehicleRoutes, i.e.RuinTimeRelated.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Removes a fraction of jobs from vehicleRoutes.RuinWorst.ruinRoutes(Collection<VehicleRoute> vehicleRoutes) Removes a fraction of jobs from vehicleRoutes.Methods in com.graphhopper.jsprit.core.algorithm.ruin with parameters of type JobModifier and TypeMethodDescriptionbooleanJobNeighborhoods.getNearestNeighborsIterator(int nNeighbors, Job neighborTo) voidRuinBreaks.removed(Job job, VehicleRoute fromRoute) protected booleanAbstractRuinStrategy.removeJob(Job job, VehicleRoute route) protected booleanAbstractRuinStrategy.removeJob(Job job, Collection<VehicleRoute> vehicleRoutes) Method parameters in com.graphhopper.jsprit.core.algorithm.ruin with type arguments of type JobModifier and TypeMethodDescriptionprotected Collection<Job> AbstractRuinStrategy.filterJobs(Collection<Job> jobs) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.ruin.distance
Methods in com.graphhopper.jsprit.core.algorithm.ruin.distance with parameters of type JobModifier and TypeMethodDescriptiondoubleAvgServiceAndShipmentDistance.getDistance(Job i, Job j) Calculates and returns the average distance between two jobs based on the input-transport costs.doubleAvgServiceDistance.getDistance(Job i, Job j) Calculates and returns the average distance between two jobs based on the input-transport costs.doubleEuclideanServiceDistance.getDistance(Job i, Job j) doubleJobDistance.getDistance(Job i, Job j) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.ruin.listener
Methods in com.graphhopper.jsprit.core.algorithm.ruin.listener with parameters of type JobModifier and TypeMethodDescriptionvoidRuinListener.removed(Job job, VehicleRoute fromRoute) informs if aJobhas been removed from aVehicleRoute.voidRuinListeners.removed(Job job, VehicleRoute fromRoute) -
Uses of Job in com.graphhopper.jsprit.core.algorithm.state
Methods in com.graphhopper.jsprit.core.algorithm.state with parameters of type JobModifier and TypeMethodDescriptionvoidUpdateMaxTimeInVehicle.finish(List<TourActivity> activities, Job ignore) voidStateManager.informJobInserted(Job job2insert, VehicleRoute inRoute, InsertionData insertionData) voidStateManager.removed(Job job, VehicleRoute fromRoute) -
Uses of Job in com.graphhopper.jsprit.core.problem
Classes in com.graphhopper.jsprit.core.problem that implement JobMethods in com.graphhopper.jsprit.core.problem that return JobModifier and TypeMethodDescriptionVehicleRoutingProblem.getJobByIndex(int index) Returns the job at the given index.Methods in com.graphhopper.jsprit.core.problem that return types with arguments of type JobModifier and TypeMethodDescriptionVehicleRoutingProblem.Builder.getAddedJobs()Returns an unmodifiable collection of already added jobs.VehicleRoutingProblem.getJobs()Returns the unmodifiable job map.VehicleRoutingProblem.getJobsInclusiveInitialJobsInRoutes()VehicleRoutingProblem.getJobsWithLocation()Methods in com.graphhopper.jsprit.core.problem with parameters of type JobModifier and TypeMethodDescriptionAdds a job which is either a service or a shipment.VehicleRoutingProblem.copyAndGetActivities(Job job) JobActivityFactory.createActivities(Job job) VehicleRoutingProblem.getActivities(Job job) intVehicleRoutingProblem.getJobIndex(Job job) Returns the index of the given job within this VRP.Method parameters in com.graphhopper.jsprit.core.problem with type arguments of type JobModifier and TypeMethodDescriptionVehicleRoutingProblem.Builder.addAllJobs(Collection<? extends Job> jobs) Adds a collection of jobs. -
Uses of Job in com.graphhopper.jsprit.core.problem.job
Classes in com.graphhopper.jsprit.core.problem.job that implement JobModifier and TypeClassDescriptionclassBreak extends Service and is intended to model a time-window based driver break.classDelivery extends Service and is intended to model a Service where smth is UNLOADED (i.e.classDelivery extends Service and is intended to model a Service where smth is UNLOADED (i.e.classPickup extends Service and is intended to model a Service where smth is LOADED (i.e.classPickup extends Service and is intended to model a Service where smth is LOADED (i.e.classService implementation of a job.classShipment is an implementation of Job and consists of a pickup and a delivery of something. -
Uses of Job in com.graphhopper.jsprit.core.problem.misc
Methods in com.graphhopper.jsprit.core.problem.misc that return JobModifier and TypeMethodDescriptionJobInsertionContext.getJob()Returns the job that needs to be inserted.Constructors in com.graphhopper.jsprit.core.problem.misc with parameters of type JobModifierConstructorDescriptionJobInsertionContext(VehicleRoute route, Job job, Vehicle newVehicle, Driver newDriver, double newDepTime) Constructs the context. -
Uses of Job in com.graphhopper.jsprit.core.problem.solution
Methods in com.graphhopper.jsprit.core.problem.solution that return types with arguments of type JobModifier and TypeMethodDescriptionVehicleRoutingProblemSolution.getUnassignedJobs()Returns bad jobs, i.e. -
Uses of Job in com.graphhopper.jsprit.core.problem.solution.route.activity
Methods in com.graphhopper.jsprit.core.problem.solution.route.activity that return JobModifier and TypeMethodDescriptionDeliverShipment.getJob()PickupShipment.getJob()TourActivity.JobActivity.getJob()Returns the job that is involved with this activity.Methods in com.graphhopper.jsprit.core.problem.solution.route.activity that return types with arguments of type JobMethods in com.graphhopper.jsprit.core.problem.solution.route.activity with parameters of type Job -
Uses of Job in com.graphhopper.jsprit.core.util
Methods in com.graphhopper.jsprit.core.util that return JobModifier and TypeMethodDescriptionstatic JobRandomUtils.nextJob(Collection<Job> jobs, Random random) static JobMethods in com.graphhopper.jsprit.core.util with parameters of type JobModifier and TypeMethodDescriptionvoidUnassignedJobReasonTracker.informJobUnassigned(Job unassigned, Collection<String> failedConstraintNames) Method parameters in com.graphhopper.jsprit.core.util with type arguments of type Job