Interface RootFinder

All Known Implementing Classes:
AbstractRootFinder, BisectionSearch, RiddersMethod, SecantMethod

public interface RootFinder
This is the interface for a one dimensional root finder implemented as an question-and-answer algorithm.
Version:
1.0
Author:
Christian Fries
Date:
2008-04-06
  • Method Details

    • getNextPoint

      double getNextPoint()
      Returns:
      Next point for which a value should be set using setValue.
    • setValue

      void setValue(double value)
      Parameters:
      value - Value corresponding to point returned by previous getNextPoint call.
    • getNumberOfIterations

      int getNumberOfIterations()
      Returns:
      Returns the numberOfIterations.
    • getBestPoint

      double getBestPoint()
      Returns:
      Best point obtained so far
    • getAccuracy

      double getAccuracy()
      Returns:
      Returns the accuracy.
    • isDone

      boolean isDone()
      Returns:
      Returns true if further improvement is not possible.