motris.main
Class LevenbergMarquardt

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.algorithm.Algorithm
              extended bymotris.main.Minimizer
                  extended bymotris.main.LevenbergMarquardt
All Implemented Interfaces:
ParameterizedObject

public class LevenbergMarquardt
extends Minimizer

Levenberg-Marquardt extension to the Gauss-Newton minimizer

Author:
preuter

Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
private  int maxIterations
           
private  double muFactor
           
private  double muInitial
           
private  double muMax
           
private  double residualImprovementCriterion
           
 
Fields inherited from class motris.algorithm.Algorithm
dataManager, experiment
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
LevenbergMarquardt(Experiment _ex)
           
 
Method Summary
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
 boolean minimize(MinimizationProblem P, LayerViewer layerViewer)
          Minimize
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 java.lang.String toString()
           
 
Methods inherited from class motris.algorithm.Algorithm
deregisterLayers
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, removeParameterChangedListener
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

muInitial

private double muInitial

muFactor

private double muFactor

muMax

private double muMax

maxIterations

private int maxIterations

residualImprovementCriterion

private double residualImprovementCriterion
Constructor Detail

LevenbergMarquardt

public LevenbergMarquardt(Experiment _ex)
Method Detail

minimize

public boolean minimize(MinimizationProblem P,
                        LayerViewer layerViewer)
Description copied from class: Minimizer
Minimize

Overrides:
minimize in class Minimizer
Parameters:
P - the problem to be solved
layerViewer - if != null, use this for visualization updates
Returns:
true unless an error has occurred

getParameters

public ParameterSet getParameters()
Description copied from interface: ParameterizedObject
Get a Vector of Strings with a description of each Parameter

Specified by:
getParameters in interface ParameterizedObject
Overrides:
getParameters in class ParameterizedObjectAdaptor

setParameters

public boolean setParameters(ParameterSet _params)
Description copied from interface: ParameterizedObject
Set Parameters of this class

Specified by:
setParameters in interface ParameterizedObject
Overrides:
setParameters in class ParameterizedObjectAdaptor

toString

public java.lang.String toString()