Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.joone.engine
Class NetErrorManager  view NetErrorManager download NetErrorManager.java

java.lang.Object
  extended byorg.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.


Constructor Summary
NetErrorManager(Monitor mon, java.lang.String errMsg)
          Constructor that stops and resets the neural network.
 
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.