org.omegahat.Numerics.Optimizers
Interface InformationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
PlotListener

public interface InformationListener
extends java.util.EventListener

Classes should implement this interface if they are to be used to provide information to the user about the progress of an optimization.

The class must implement the iterationPerformed method, which returns no value but does (presumably) something to help the user observe or record the results of the optimization.

These listeners are not intended to influence the course of the iteration, although since they have access to the optimizer as the source object of the event, there is nothing they can't intrinsically do. But the preferred approach is to use a class that implements IterationListener instead.


Method Summary
 void iterationPerformed(IterationEvent ev)
          Method called on each iteration of the optimizer.
 

Method Detail

iterationPerformed

public void iterationPerformed(IterationEvent ev)
Method called on each iteration of the optimizer.

Note that by definition, this includes the initial state of the iteration, corresponding to the initial values.