Package runner.examples
Class SkiLodgeRunner2
java.lang.Object
runner.GenericRunner
runner.examples.SkiLodgeRunner
runner.examples.SkiLodgeRunner2
public class SkiLodgeRunner2 extends SkiLodgeRunner
A subclass of
SkiLodgeRunner that is used to create:
- A hyper-heuristic that will work with two dynamic sets
- A problem that will be solved by the hyper-heuristic
- A dynamic set to integrate into the hyper-heuristic.
The class creates two dynamic sets to manage perturbative heuristics and
lcoal search heuristics separately.
This class solves the Ski-Lode problem which is a toy problem.
In SkiLodgeRunner, one dynamic set is used for managing all heuristics
regardless of their types.
- See Also:
SkiLodgeRunner
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SkiLodgeRunner2(long seed, long timeLimit) -
Method Summary
Modifier and Type Method Description protected HyperHeuristicIntrfcreateHyperHeuristic()Creates a hyper-heuristic that uses two dynamic sets to manage perturbative and local search heuristics separately.
-
Constructor Details
-
SkiLodgeRunner2
public SkiLodgeRunner2(long seed, long timeLimit)
-
-
Method Details
-
createHyperHeuristic
Creates a hyper-heuristic that uses two dynamic sets to manage perturbative and local search heuristics separately.- Overrides:
createHyperHeuristicin classSkiLodgeRunner- Returns:
- a hyper-heuristic that uses two dynamic sets
-