asu.seismo.signals.min1d
Class fminLBFGS1d

java.lang.Object
  extended by asu.seismo.signals.min1d.fminLBFGS1d
All Implemented Interfaces:
fminunc1d_iter

public class fminLBFGS1d
extends java.lang.Object
implements fminunc1d_iter


Constructor Summary
fminLBFGS1d(int dimension)
           
fminLBFGS1d(minimizable1d_fdg function, doubleSignal1d x0, double epsilon, int M)
           
 
Method Summary
 doubleSignal1d getX()
          Get current x-value
 boolean isMin()
          Minimum reached?
 void restart()
          Restart Method
 void setObjective(minimizable1d_fdg function)
          Set the objective function
 void start(doubleSignal1d x0)
          Initiate minimization with initial guess x0
 void step()
          Perform 1 step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

fminLBFGS1d

public fminLBFGS1d(minimizable1d_fdg function,
                   doubleSignal1d x0,
                   double epsilon,
                   int M)
            throws invalid_data_exception,
                   size_mismatch_exception
Throws:
invalid_data_exception
size_mismatch_exception

fminLBFGS1d

public fminLBFGS1d(int dimension)
            throws invalid_data_exception,
                   size_mismatch_exception
Throws:
invalid_data_exception
size_mismatch_exception
Method Detail

setObjective

public void setObjective(minimizable1d_fdg function)
Description copied from interface: fminunc1d_iter
Set the objective function

Specified by:
setObjective in interface fminunc1d_iter

start

public void start(doubleSignal1d x0)
           throws invalid_data_exception,
                  size_mismatch_exception
Description copied from interface: fminunc1d_iter
Initiate minimization with initial guess x0

Specified by:
start in interface fminunc1d_iter
Throws:
invalid_data_exception
size_mismatch_exception

restart

public void restart()
             throws invalid_data_exception,
                    size_mismatch_exception
Description copied from interface: fminunc1d_iter
Restart Method

Specified by:
restart in interface fminunc1d_iter
Throws:
invalid_data_exception
size_mismatch_exception

isMin

public boolean isMin()
              throws invalid_data_exception
Minimum reached?

Specified by:
isMin in interface fminunc1d_iter
Throws:
invalid_data_exception

getX

public doubleSignal1d getX()
Get current x-value

Specified by:
getX in interface fminunc1d_iter

step

public void step()
          throws invalid_data_exception,
                 size_mismatch_exception,
                 min_failed_exception
Description copied from interface: fminunc1d_iter
Perform 1 step

Specified by:
step in interface fminunc1d_iter
Throws:
invalid_data_exception
size_mismatch_exception
min_failed_exception