Package runner.examples
Class SkiLodgeRunner
java.lang.Object
runner.GenericRunner
runner.examples.SkiLodgeRunner
- Direct Known Subclasses:
SkiLodgeRunner2
public class SkiLodgeRunner extends GenericRunner
A subclass of
GenericRunner that is used to create:
- A hyper-heuristic
- A problem that will be solved by the hyper-heuristic
- A dynamic set to integrate into the hyper-heuristic.
The class creates one dynamic set to manage all low-level
heuristics regardless of their type.
This class solves the Ski-Lode problem which is a toy problem.
In SkiLodgeRunner2, two dynamic sets are used. One for managing the
perturbative heuristics and the other one for managing the local searches.
- See Also:
SkiLodgeRunner2
-
Field Summary
Fields Modifier and Type Field Description protected longtimeLimit -
Constructor Summary
Constructors Constructor Description SkiLodgeRunner(long seed, long timeLimit) -
Method Summary
Modifier and Type Method Description protected DynHeurSetcreateDynHeurSet()protected HyperHeuristicIntrfcreateHyperHeuristic()protected ProblemcreateProblem()
-
Field Details
-
timeLimit
protected final long timeLimit
-
-
Constructor Details
-
SkiLodgeRunner
public SkiLodgeRunner(long seed, long timeLimit)
-
-
Method Details
-
createProblem
- Overrides:
createProblemin classGenericRunner
-
createHyperHeuristic
- Overrides:
createHyperHeuristicin classGenericRunner
-
createDynHeurSet
- Overrides:
createDynHeurSetin classGenericRunner
-