Class IntelligentRouteDestructor
java.lang.Object
es.urjc.etsii.grafo.shake.Destructive<VRPODSolution,VRPODInstance>
es.urjc.etsii.grafo.vrpod.destructives.IntelligentRouteDestructor
-
Nested Class Summary
Nested classes/interfaces inherited from class es.urjc.etsii.grafo.shake.Destructive
Destructive.NullDestructive<S extends Solution<S,
I>, I extends Instance> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondestroy
(VRPODSolution solution, int k) Destroy a part of the solution.toString()
Methods inherited from class es.urjc.etsii.grafo.shake.Destructive
nul
-
Constructor Details
-
IntelligentRouteDestructor
-
-
Method Details
-
toString
-
destroy
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 classDestructive<VRPODSolution,
VRPODInstance> - Parameters:
solution
- original solutionk
- 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?
-