Package runner.examples
Class HyFlexRunner
java.lang.Object
runner.GenericRunner
runner.examples.HyFlexRunner
- Direct Known Subclasses:
HyFlexRunner2
public class HyFlexRunner 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 uses HyFlex and creates one dynamic set to manage all low-level
heuristics regardless of their type.
In HyFlexRunner2, two dynamic sets are used. One for managing the
perturbative heuristics and the other one for managing the local searches.
- See Also:
HyFlexRunner2
-
Field Summary
Fields Modifier and Type Field Description protected longtimeLimit -
Constructor Summary
Constructors Constructor Description HyFlexRunner(long seed, long timeLimit) -
Method Summary
Modifier and Type Method Description protected DynHeurSetcreateDynHeurSet()protected AbstractClasses.ProblemDomaincreateHyFlexProblem()protected HyperHeuristicIntrfcreateHyperHeuristic()
-
Field Details
-
timeLimit
protected final long timeLimit
-
-
Constructor Details
-
HyFlexRunner
public HyFlexRunner(long seed, long timeLimit)
-
-
Method Details
-
createHyFlexProblem
protected AbstractClasses.ProblemDomain createHyFlexProblem()- Overrides:
createHyFlexProblemin classGenericRunner
-
createHyperHeuristic
- Overrides:
createHyperHeuristicin classGenericRunner
-
createDynHeurSet
- Overrides:
createDynHeurSetin classGenericRunner
-