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