com.cra.bnet.learn
Interface EmEtaListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
EmEtaAdapter

public interface EmEtaListener
extends EventListener

A listener for receiving notifications about the status of the EmEta learning algorithm.


Method Summary
 void algorithmFinished(EmEtaEvent event)
          Invoked when the algorithm is finished.
 void algorithmPaused(EmEtaEvent event)
          Invoked when the algorithm has been paused.
 void algorithmResumed(EmEtaEvent event)
          Invoked when the algorithm has been resumed.
 void algorithmStarted(EmEtaEvent event)
          Invoked when the algorithm has started.
 void algorithmStopped(EmEtaEvent event)
          Invoked when the algorithm has been stopped.
 void iterationFinished(EmEtaEvent event)
          Invoked when an iteration of the algorithm has finished.
 

Method Detail

algorithmFinished

public void algorithmFinished(EmEtaEvent event)
Invoked when the algorithm is finished. The algorithm finishes when delta reached the minimum delta or the algorithm completed its maximum number of iterations.

Parameters:
event - EmEta event.

algorithmPaused

public void algorithmPaused(EmEtaEvent event)
Invoked when the algorithm has been paused. The algorithm is paused by calling the EmEtaLearningAlgorithm.pause method.

Parameters:
event - EmEta event.

algorithmResumed

public void algorithmResumed(EmEtaEvent event)
Invoked when the algorithm has been resumed. The algorithm is resumed by calling the EmEtaLearningAlgorithm.resume method after the algorithm has already been paused.

Parameters:
event - EmEta event.

algorithmStarted

public void algorithmStarted(EmEtaEvent event)
Invoked when the algorithm has started.

Parameters:
event - EmEta event.

algorithmStopped

public void algorithmStopped(EmEtaEvent event)
Invoked when the algorithm has been stopped. The algorithm is stopped by calling the EmEtaLearningAlgorithm.stop method.

Parameters:
event - EmEta event.

iterationFinished

public void iterationFinished(EmEtaEvent event)
Invoked when an iteration of the algorithm has finished.

Parameters:
event - EmEta event.