com.penguinwerks.jodene
Class TrainingEpochEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.penguinwerks.jodene.TrainingEpochEvent
All Implemented Interfaces:
java.io.Serializable

public class TrainingEpochEvent
extends java.util.EventObject

The epoch event. Carries with it the network, the error and the source is the trainer that fired the end epoch event.

Author:
Paul Hoehne
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TrainingEpochEvent(java.lang.Object arg0)
          The constructor that sets the event source.
 
Method Summary
 Network getNetwork()
          Returns the network which is being trained.
 void setNetwork(Network network)
          Sets the network being trained.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrainingEpochEvent

public TrainingEpochEvent(java.lang.Object arg0)
The constructor that sets the event source.

Parameters:
arg0 - The event source.
Method Detail

getNetwork

public Network getNetwork()
Returns the network which is being trained.

Returns:
Returns the network.

setNetwork

public void setNetwork(Network network)
Sets the network being trained.

Parameters:
network - The network to set.