Class RandomMovement
java.lang.Object
es.urjc.etsii.grafo.shake.Shake<VRPODSolution,VRPODInstance>
es.urjc.etsii.grafo.vrpod.destructives.RandomMovement
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
shake
(VRPODSolution solution, int k) Shake the solution.toString()
-
Constructor Details
-
RandomMovement
-
-
Method Details
-
shake
Description copied from class:Shake
Shake the solution. Use k to calculate how powerful the shake should be in your implementation. Can be as simple as number of elements to remove, or to swap. Whatever you want.- Specified by:
shake
in classShake<VRPODSolution,
VRPODInstance> - Parameters:
solution
- Solution to shakek
- shake strength- Returns:
- shaken solution. Shaken, not stirred.
-
iteration
- Parameters:
s
- current solution
-
toString
-