|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.Pocket
| Constructor Summary | |
Pocket(java.lang.String name)
Creates a new instance of Pocket |
|
| Method Summary | |
void |
addError(java.lang.String error)
Adds a new error to monitor in the pocket. |
void |
closeError(java.lang.String error)
Closes named error, cleaning up the pocket. |
void |
finalize()
|
Network |
getContents(java.lang.String error)
Returns the contents of the pocket or null if there is no network in the pocket. |
java.util.List |
getErrors()
Returns the names of the errors that are managed the this pocket. |
int |
getLastUpdateEpoch(java.lang.String error)
Return the epoch the pocket was updated. |
double |
getLastUpdateError(java.lang.String error)
Returns the last update error for the network in the pocket or the MAX_VALUE of double if there is no network in the pocket. |
void |
saveNetwork(java.lang.String error,
Network network,
Trainer trainer)
Save the network to the pocket with the named error calculator. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pocket(java.lang.String name)
| Method Detail |
public void addError(java.lang.String error)
error - Th ename of the error.public void closeError(java.lang.String error)
error - The name of the error.public Network getContents(java.lang.String error)
error - The name of the error.
public void finalize()
public int getLastUpdateEpoch(java.lang.String error)
error - The name of the error.
public double getLastUpdateError(java.lang.String error)
error - The name of the error.
public java.util.List getErrors()
public void saveNetwork(java.lang.String error,
Network network,
Trainer trainer)
error - The name of the error.network - The network to save.trainer - The trainer training the network.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||