Class RuinRandom

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

public final class RuinRandom extends AbstractRuinStrategy
Ruin strategy that ruins current solution randomly. I.e. customer are removed randomly from current solution.
Author:
stefan schroeder
  • Constructor Details

    • RuinRandom

      public RuinRandom(VehicleRoutingProblem vrp, double fraction)
      Constructs ruinRandom.
      Parameters:
      vrp -
      fraction - which is the fraction of total c
  • Method Details