asu.seismo.signals.oned
Class blurset.objectivef

java.lang.Object
  extended by asu.seismo.signals.min1d.minimizable1d_fdg
      extended by asu.seismo.signals.oned.blurset.objectivef
All Implemented Interfaces:
minimizable1d
Enclosing class:
blurset

public class blurset.objectivef
extends minimizable1d_fdg

This class represents the function
||f_hat*h_hat-g||_2^2 + \lambda_f * ||f_hat||_{normf}.
and is returned by blurset.getJf(). See blurset.getJf() for details.


Field Summary
 blurset bl
           
 
Constructor Summary
blurset.objectivef()
           
blurset.objectivef(blurset b)
           
 
Method Summary
 double getF()
          Get the value of the function
 double getF(doubleSignal1d grad)
          Get the value of the function and its gradient
 double getGradFTDnorm()
           
 double getGradREGnorm()
           
 int getLength()
          Get length of the function argument
 doubleSignal1d getX()
           
 void setX(doubleSignal1d x)
          Set x value at with the function will be evaluated
 void TrackGrad(boolean b)
          track the gradient norms of the fit-to-data and regularization functionals.
 
Methods inherited from class asu.seismo.signals.min1d.minimizable1d_fdg
checkGrad, getFDGrad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bl

public blurset bl
Constructor Detail

blurset.objectivef

public blurset.objectivef(blurset b)

blurset.objectivef

public blurset.objectivef()
Method Detail

setX

public void setX(doubleSignal1d x)
          throws invalid_data_exception,
                 size_mismatch_exception
Description copied from interface: minimizable1d
Set x value at with the function will be evaluated

Specified by:
setX in interface minimizable1d
Specified by:
setX in class minimizable1d_fdg
Throws:
invalid_data_exception
size_mismatch_exception

getX

public doubleSignal1d getX()
Specified by:
getX in interface minimizable1d
Specified by:
getX in class minimizable1d_fdg

getF

public double getF()
            throws invalid_data_exception,
                   size_mismatch_exception
Description copied from interface: minimizable1d
Get the value of the function

Specified by:
getF in interface minimizable1d
Specified by:
getF in class minimizable1d_fdg
Throws:
invalid_data_exception
size_mismatch_exception

getF

public double getF(doubleSignal1d grad)
            throws invalid_data_exception,
                   size_mismatch_exception
Description copied from interface: minimizable1d
Get the value of the function and its gradient

Specified by:
getF in interface minimizable1d
Overrides:
getF in class minimizable1d_fdg
Throws:
invalid_data_exception
size_mismatch_exception

getLength

public int getLength()
Description copied from interface: minimizable1d
Get length of the function argument

Specified by:
getLength in interface minimizable1d
Specified by:
getLength in class minimizable1d_fdg

TrackGrad

public void TrackGrad(boolean b)
track the gradient norms of the fit-to-data and regularization functionals. Enabling this option will cause an additional norm evaluation during the computation of the objective function and therefor will increase the f-evaluation cost, however only marginally. The value of the norms can be accessed by the function getGradFTDnorm() and getGradREGnorm().


getGradFTDnorm

public double getGradFTDnorm()

getGradREGnorm

public double getGradREGnorm()