Package es.urjc.etsii.grafo.create.grasp
Class GRASPListManager.NullGraspListManager<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>
java.lang.Object
es.urjc.etsii.grafo.create.grasp.GRASPListManager<M,S,I>
es.urjc.etsii.grafo.create.grasp.GRASPListManager.NullGraspListManager<M,S,I>
- Type Parameters:
M
- Move classS
- Solution classI
- Instance class
public static class GRASPListManager.NullGraspListManager<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>
extends GRASPListManager<M,S,I>
Do nothing GRASPListManager
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class es.urjc.etsii.grafo.create.grasp.GRASPListManager
afterGRASP, beforeGRASP, nul, toString
-
Constructor Details
-
NullGraspListManager
public NullGraspListManager()
-
-
Method Details
-
buildInitialCandidateList
Description copied from class:GRASPListManager
Generate initial candidate list. -
updateCandidateList
Description copied from class:GRASPListManager
Update candidate list after each movement. The list will be sorted by the constructor.- Specified by:
updateCandidateList
in classGRASPListManager<M extends Move<S,
I>, S extends Solution<S, I>, I extends Instance> - Parameters:
solution
- Current solution, move has been already appliedmove
- Chosen movecandidateList
- original candidate listindex
- index of the chosen move in the candidate list- Returns:
- an UNSORTED candidate list, where the best candidate is on the first position and the worst in the last
-