Package es.urjc.etsii.grafo.shake
Class Destructive.NullDestructive<S extends Solution<S,I>,I extends Instance>
java.lang.Object
es.urjc.etsii.grafo.shake.Destructive<S,I>
es.urjc.etsii.grafo.shake.Destructive.NullDestructive<S,I>
- Type Parameters:
S- Solution classI- Instance class
public static class Destructive.NullDestructive<S extends Solution<S,I>,I extends Instance>
extends Destructive<S,I>
Do nothing destructive method
-
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
Methods inherited from class es.urjc.etsii.grafo.shake.Destructive
nul
-
Constructor Details
-
NullDestructive
public NullDestructive()
-
-
Method Details
-
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<S extends Solution<S,I>, I extends Instance> - 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?
-