public class PersistNEATPopulation extends java.lang.Object implements EncogPersistor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_CPPN
Type for the Compositional pattern-producing networks used by HyperNEAT.
|
| Constructor and Description |
|---|
PersistNEATPopulation() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFileVersion() |
java.lang.String |
getPersistClassString() |
static java.lang.String |
neuronTypeToString(NEATNeuronType t)
Convert a NEATNeuronType enum to a string.
|
java.lang.Object |
read(java.io.InputStream is)
Read the object from an input stream.
|
void |
save(java.io.OutputStream os,
java.lang.Object obj)
Save the object.
|
static NEATNeuronType |
stringToNeuronType(java.lang.String t) |
public static final java.lang.String TYPE_CPPN
public static java.lang.String neuronTypeToString(NEATNeuronType t)
t - The type.public static NEATNeuronType stringToNeuronType(java.lang.String t)
public int getFileVersion()
getFileVersion in interface EncogPersistorpublic java.lang.String getPersistClassString()
getPersistClassString in interface EncogPersistorpublic java.lang.Object read(java.io.InputStream is)
EncogPersistorread in interface EncogPersistoris - The input stream.public void save(java.io.OutputStream os,
java.lang.Object obj)
EncogPersistorsave in interface EncogPersistoros - The output stream to save to.obj - The object to save.