Package dynheurset.update.remove
Class PatientWorstRemoval
java.lang.Object
dynheurset.update.remove.Remove
dynheurset.update.remove.PatientWorstRemoval
public class PatientWorstRemoval extends Remove
A patient Worst Removal Strategy.
This removal strategy wait for a number of iterations that are more/less than the maximum number of iterations elapsed before the best solution is updated. Then, the worst heuristics that is not removed yet is permanently removed.
-
Field Summary
Fields inherited from class dynheurset.update.remove.Remove
heurList, measure, removedHeurSet, runStat -
Constructor Summary
Constructors Constructor Description PatientWorstRemoval(double patience) -
Method Summary
-
Field Details
-
Constructor Details
-
PatientWorstRemoval
public PatientWorstRemoval(double patience)
-
-
Method Details
-
canRemove
public boolean canRemove()Description copied from class:RemoveSpecifies the removal condition.The removal condition determines when to remove some heuristics permanently.
-
remove
public void remove()Description copied from class:RemoveSpecifies the removal criterion.The removal criterion determines which heuristics to remove permanently.
-