de.jstacs.algorithms.optimization
Interface StartDistanceForecaster

All Known Implementing Classes:
ConstantStartDistance, LimitedMedianStartDistance

public interface StartDistanceForecaster

This interface is used to determine the next start distance that will be used in a line search.

Author:
Jens Keilwagen
See Also:
Optimizer, OneDimensionalSubFunction

Method Summary
 double getNewStartDistance()
          This method returns the new positive start distance.
 void reset()
          Resets the object to the initial state.
 void setLastDistance(double last)
          Sets the last used distance.
 

Method Detail

getNewStartDistance

double getNewStartDistance()
This method returns the new positive start distance. It enables the implementor to compute any interpolation using the last values.

Returns:
the new positive start distance
See Also:
setLastDistance(double)

setLastDistance

void setLastDistance(double last)
Sets the last used distance.

Parameters:
last - the last used distance

reset

void reset()
Resets the object to the initial state.