org.omegahat.Numerics.Optimizers
Interface ConvergenceListenerInt

All Superinterfaces:
java.util.EventListener, IterationListener
All Known Implementing Classes:
ConvergenceListener

public interface ConvergenceListenerInt
extends IterationListener

Interface to provide tests of numeric convergence for optimization.

The object has a tolerance and a current value (which should depend on the current contents of the optimizer).


Method Summary
 double getTolerance()
          The tolerance for convergence.
 double getValue()
          The value of the convergence criterion.
 double setTolerance(double value)
           
 double setValue(double value)
          Set the value directly.
 double setValue(ModelPoint parameters, OptimizerIterator opt)
          Set the value from the current model point and optimizer object (the usual way to do it).
 
Methods inherited from interface org.omegahat.Numerics.Optimizers.IterationListener
continueIteration
 

Method Detail

getValue

public double getValue()
The value of the convergence criterion.

setValue

public double setValue(double value)
Set the value directly.

setValue

public double setValue(ModelPoint parameters,
                       OptimizerIterator opt)
Set the value from the current model point and optimizer object (the usual way to do it).

getTolerance

public double getTolerance()
The tolerance for convergence.

setTolerance

public double setTolerance(double value)