public abstract class SnapshotPlugin extends MonitorPlugin implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
SnapshotPlugin()
Creates a new SnapshotPlugin object.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doSnapshot()
Allows subclasses to define specific snapshot generation.
|
protected abstract void |
doStart()
Allows subclasses to define specific start processing.
|
protected abstract void |
doStop()
Allows subclasses to define specific stop processing.
|
protected void |
manageCycle(Monitor mon)
Process one cycle of activity: calls the doSnapshot method to allow for
specific snapshot generation by subclasses.
|
protected void |
manageError(Monitor mon)
Global error is stored along with the monitor, so this method does
nothing.
|
protected void |
manageStart(Monitor mon)
Start a new activity session: calls the doStart method to inform
subclasses, then generates a snapshot of the initial state of the
network.
|
protected void |
manageStop(Monitor mon)
Stop an activity session: take a snapshot of the final state of the
network, then calls the doStop method to inform subclasses
|
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, manageStopError, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate, toBeManaged
protected final void manageStart(Monitor mon)
manageStart
in class MonitorPlugin
mon
- the monitorprotected abstract void doStart()
net
- the current neural network.protected final void manageCycle(Monitor mon)
manageCycle
in class MonitorPlugin
mon
- the monitorprotected abstract void doSnapshot()
net
- the current neural network.protected final void manageStop(Monitor mon)
manageStop
in class MonitorPlugin
mon
- the monitorprotected abstract void doStop()
net
- the current neural network.protected final void manageError(Monitor mon)
manageError
in class MonitorPlugin
mon
- the monitorSubmit Feedback to pmarrone@users.sourceforge.net