Package dynheurset.update.reset
Class Reset
java.lang.Object
dynheurset.update.reset.Reset
- Direct Known Subclasses:
FreqReset,NoReset,PatientReset
public abstract class Reset
extends java.lang.Object
This class defines the reset strategy that is used by the update strategy.
The reset strategy determines the reset condition (when to reset the active set
such that it includes all heuristics except for permanently removed heuristics).
The reset operation is performed in updateActiveList method of the
Update class since the update strategy have access to the set of
permanently removed heuristics.
- See Also:
Update.updateActiveList()
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Reset() -
Method Summary
Modifier and Type Method Description abstract booleancanReset()Returnstrueif the active set should be reset and returnsfalseotherwise.voidsetHeurList(java.util.List<java.lang.Integer> heurList)voidsetup(RunStat runStat, Measure measure)
-
Field Details
-
Constructor Details
-
Reset
public Reset()
-
-
Method Details
-
setup
-
setHeurList
public void setHeurList(java.util.List<java.lang.Integer> heurList) -
canReset
public abstract boolean canReset()Returnstrueif the active set should be reset and returnsfalseotherwise.The reset forces the active set to include all heuristics except for permanently removed heuristics.
- Returns:
trueif the active set should be reset and returnsfalseotherwise.
-