org.omegahat.Numerics.Optimizers
Interface IterationListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
ConvergenceListenerInt, CounterListener, IterationCounterInt
All Known Implementing Classes:
BackgroundTaskManager, PlotListener

public interface IterationListener
extends java.util.EventListener

Classes implementing this interface will provide listeners that control the iteration of the optimizer.

The listener must implement continueIteration(ev), which should return true if the iteration should continue and false otherwise (e.g., if the optimization appears to have converged or has gone on too long).

The current parameter values are available as a property of the event, and the optimizer itself is the source object (see IterationEvent.


Method Summary
 boolean continueIteration(IterationEvent ev)
           
 

Method Detail

continueIteration

public boolean continueIteration(IterationEvent ev)