org.joone.engine
Class NetErrorManager
- java.lang.Object
-
- org.joone.engine.NetErrorManager
-
public class NetErrorManager extends java.lang.ObjectThis 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
Constructors Constructor and Description NetErrorManager(Monitor mon, java.lang.String errMsg)Constructor that stops and resets the neural network.
-
-
-
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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG