Class PatientPhaseDominanceUpdate

java.lang.Object
dynheurset.update.Update
dynheurset.update.PhaseDominanceUpdate
dynheurset.update.PatientPhaseDominanceUpdate

public class PatientPhaseDominanceUpdate
extends PhaseDominanceUpdate
This class implements a patient phase-based dominance update strategy.

The active set is updated every phaseLen iterations. A patience factor is used to control how long the update strategy waits for the best solution to improve before updating the active set. All dominant heuristics are included in the active set. A heuristic j is dominated by a heuristic i if i achieves better performance and in a shorter amount of computational time than j.

  • Field Details

    • patience

      protected final double patience
      A patience factor controlling how long the update strategy waits for the best solution to improve before updating the active set.
  • Constructor Details

  • Method Details

    • canUpdate

      public boolean canUpdate()
      Description copied from class: Update
      Returns true if the active set is to be updated and false otherwise.

      In this method, you should use the RunStat field to access the run information that you may need to decides whether to update the active set.

      Overrides:
      canUpdate in class PhaseDominanceUpdate
      Returns:
      true if the active set is to be updated and false otherwise.