@PublicationReference(author="Wikipedia", title="Root-finding algorithm", type=WebPage, year=2009, url="http://en.wikipedia.org/wiki/Root-finding_algorithm") public interface RootFinder extends BatchLearner<Evaluator<java.lang.Double,java.lang.Double>,InputOutputPair<java.lang.Double,java.lang.Double>>, AnytimeAlgorithm<InputOutputPair<java.lang.Double,java.lang.Double>>
Modifier and Type | Method and Description |
---|---|
double |
getInitialGuess()
Sets the initial guess of the root (zero-crossing), which is supplied
as input to the function to find the zero-crossings of.
|
double |
getTolerance()
Gets the tolerance of the algorithm.
|
void |
setInitialGuess(double intitialGuess)
Sets the initial guess of the root (zero-crossing), which is supplied
as input to the function to find the zero-crossings of.
|
void |
setTolerance(double tolerance)
Sets the tolerance of the algorithm.
|
learn
clone
getMaxIterations, getResult, setMaxIterations
addIterativeAlgorithmListener, getIteration, removeIterativeAlgorithmListener
isResultValid, stop
double getInitialGuess()
void setInitialGuess(double intitialGuess)
intitialGuess
- Initial guess of the root location.double getTolerance()
void setTolerance(double tolerance)
tolerance
- Tolerance, where tolerances closer to zero are more accurate, and larger
tolerances are less accurate. In any case, tolerance must be greater
than or equal to zero.