asu.seismo.signals.min1d
Interface linesearch1d

All Known Implementing Classes:
backtracking1d

public interface linesearch1d

Interface class for a line search methods.


Method Summary
 double getStepLength(doubleSignal1d x, doubleSignal1d direction)
          Get the step length for this direction.
 void setInitials(double f, doubleSignal1d grad)
          Initiate line search
 void setObjective(minimizable1d f)
          Set objectice function
 

Method Detail

setObjective

void setObjective(minimizable1d f)
Set objectice function


getStepLength

double getStepLength(doubleSignal1d x,
                     doubleSignal1d direction)
                     throws invalid_data_exception,
                            size_mismatch_exception
Get the step length for this direction.

Throws:
invalid_data_exception
size_mismatch_exception

setInitials

void setInitials(double f,
                 doubleSignal1d grad)
Initiate line search