Class RandomDeassign
java.lang.Object
es.urjc.etsii.grafo.shake.Destructive<VRPODSolution,VRPODInstance>
es.urjc.etsii.grafo.vrpod.destructives.RandomDeassign
-
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> -
Field Summary
Fields -
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
-
Field Details
-
K_STEP
public static final double K_STEP- See Also:
-
-
Constructor Details
-
RandomDeassign
-
-
Method Details
-
toString
-
destroy
Description copied from class:DestructiveDestroy a part of the solution. Usually involves deassigning parts of the solution to be rebuilt later by a reconstructive method- Specified by:
destroyin 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?
-