|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.persist.EncogPersistedCollection
public class EncogPersistedCollection
An EncogPersistedCollection holds a collection of EncogPersistedObjects. This allows the various neural networks and some data sets to be peristed. They are persisted to an XML form.
| Constructor Summary | |
|---|---|
EncogPersistedCollection()
|
|
| Method Summary | |
|---|---|
void |
add(EncogPersistedObject obj)
Add an EncogPersistedObject to the collection. |
void |
clear()
Clear the collection. |
static Persistor |
createPersistor(java.lang.String className)
Create a persistor object. |
java.lang.String |
getEncogVersion()
|
int |
getFileVersion()
|
java.util.List<EncogPersistedObject> |
getList()
|
java.lang.String |
getPlatform()
|
void |
load(java.io.InputStream is)
Load from an input stream. |
void |
load(java.lang.String filename)
Load from a file. |
void |
save(java.io.OutputStream os)
Save to an output stream. |
void |
save(java.lang.String filename)
Save to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncogPersistedCollection()
| Method Detail |
|---|
public static Persistor createPersistor(java.lang.String className)
className - The name of the class to create a persistor for.
public void add(EncogPersistedObject obj)
obj - The object to add.public void clear()
public java.lang.String getEncogVersion()
public int getFileVersion()
public java.util.List<EncogPersistedObject> getList()
public java.lang.String getPlatform()
public void load(java.io.InputStream is)
is - The stream to load from.public void load(java.lang.String filename)
filename - The filename to load from.public void save(java.io.OutputStream os)
os - The stream to save to.public void save(java.lang.String filename)
filename - The filename to save to.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||