Class RuinRadialMultipleCenters

java.lang.Object
com.graphhopper.jsprit.core.algorithm.ruin.AbstractRuinStrategy
com.graphhopper.jsprit.core.algorithm.ruin.RuinRadialMultipleCenters
All Implemented Interfaces:
RuinStrategy

@Deprecated public final class RuinRadialMultipleCenters extends AbstractRuinStrategy
Deprecated.
RuinStrategy that ruins the neighborhood of a randomly selected job. The size and the structure of the neighborhood is defined by the share of jobs to be removed and the distance between jobs (where distance not necessarily mean Euclidean distance but an arbitrary measure).
Author:
stefan
  • Constructor Details

  • Method Details

    • setNumberOfRuinCenters

      public void setNumberOfRuinCenters(int noCenters)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • ruinRoutes

      public Collection<Job> ruinRoutes(Collection<VehicleRoute> vehicleRoutes)
      Deprecated.
      Ruins the collection of vehicleRoutes, i.e. removes a share of jobs. First, it selects a job randomly. Second, it identifies its neighborhood. And finally, it removes the neighborhood plus the randomly selected job from the number of vehicleRoutes. All removed jobs are then returned as a collection.
      Specified by:
      ruinRoutes in class AbstractRuinStrategy