com.cra.bnet.learn
Class EmEtaAdapter

java.lang.Object
  |
  +--com.cra.bnet.learn.EmEtaAdapter
All Implemented Interfaces:
EmEtaListener, EventListener

public class EmEtaAdapter
extends Object
implements EmEtaListener

Adapter class for the EmEtaListener interface.


Constructor Summary
EmEtaAdapter()
          Empty constructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmEtaAdapter

public EmEtaAdapter()
Empty constructor.

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.

Specified by:
algorithmFinished in interface EmEtaListener
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.

Specified by:
algorithmPaused in interface EmEtaListener
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.

Specified by:
algorithmResumed in interface EmEtaListener
Parameters:
event - EmEta event.

algorithmStarted

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

Specified by:
algorithmStarted in interface EmEtaListener
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.

Specified by:
algorithmStopped in interface EmEtaListener
Parameters:
event - EmEta event.

iterationFinished

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

Specified by:
iterationFinished in interface EmEtaListener
Parameters:
event - EmEta event.