Class IntelligentRouteDestructor

java.lang.Object
es.urjc.etsii.grafo.shake.Destructive<VRPODSolution,VRPODInstance>
es.urjc.etsii.grafo.vrpod.destructives.IntelligentRouteDestructor

public class IntelligentRouteDestructor extends Destructive<VRPODSolution,VRPODInstance>
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • destroy

      public VRPODSolution destroy(VRPODSolution solution, int k)
      Description copied from class: Destructive
      Destroy a part of the solution. Usually involves deassigning parts of the solution to be rebuilt later by a reconstructive method
      Specified by:
      destroy in class Destructive<VRPODSolution,VRPODInstance>
      Parameters:
      solution - original solution
      k - destroy intensity, may be ignored by the implementing class
      Returns:
      reference to the modified solution. Can be modified in placed or cloned before. // TODO clone always or not? decided by the caller?