Interface RestartSchedule

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int nextRunLength()
      Gets the next run length in the restart schedule's sequence of run lengths.
      void reset()
      Resets the restart schedule to its initial conditions, such that the next call to nextRunLength() will return the initial run length of the schedule.
      • Methods inherited from interface org.cicirello.search.concurrent.Splittable

        split
    • Method Detail

      • nextRunLength

        int nextRunLength()
        Gets the next run length in the restart schedule's sequence of run lengths.
        Returns:
        the length for the next run of a multistart metaheuristic
      • reset

        void reset()
        Resets the restart schedule to its initial conditions, such that the next call to nextRunLength() will return the initial run length of the schedule.