org.joone.engine
Class NetErrorManager

java.lang.Object
  extended by org.joone.engine.NetErrorManager

public class NetErrorManager
extends java.lang.Object

This class should be used when ever a critical error occurs that would impact on the training or running of the network.

Joone classes should construct a new NetErrorManager when an error occurs. By doing so this will stop and reset the network so the user can perform corrective action and re-start.

E.g

new NetErrorManager(monitor,"An error has occurred.!");

The constructor of this class calls the monitors fireNetStoppedError event method which propogates the event to all the net listeners. This in turn stops and resets the network to allow correction and continuation.

Author:
Julien Norman

Constructor Summary
NetErrorManager(Monitor mon, java.lang.String errMsg)
          Constructor that stops and resets the neural network.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetErrorManager

public NetErrorManager(Monitor mon,
                       java.lang.String errMsg)
Constructor that stops and resets the neural network.

Parameters:
mon - The monitor that should be made aware of the error.
errMsg - The string containing the critical network error.


Submit Feedback to pmarrone@users.sourceforge.net