Interface IterationMonitor<S>

Type Parameters:
S - the type of an iteration state
All Known Implementing Classes:
CountMonitor, IteratesMonitor, NullMonitor, VectorMonitor

public interface IterationMonitor<S>
To debug an iterative algorithm, such as in IterativeMethod, it is useful to keep track of the all states generated in the iterations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Record a new iteration state.
  • Method Details

    • addIterate

      void addIterate(S s)
      Record a new iteration state.
      Parameters:
      s - the new iteration state