org.encog.neural.neat
public class PersistNEATPopulation extends Object implements EncogPersistor
| Modifier and Type | Field and Description |
|---|---|
static 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() |
String |
getPersistClassString() |
static String |
neuronTypeToString(NEATNeuronType t)
Convert a NEATNeuronType enum to a string.
|
Object |
read(InputStream is)
Read the object from an input stream.
|
void |
save(OutputStream os,
Object obj)
Save the object.
|
static NEATNeuronType |
stringToNeuronType(String t) |
public static final String TYPE_CPPN
public static String neuronTypeToString(NEATNeuronType t)
t - The type.public static NEATNeuronType stringToNeuronType(String t)
public int getFileVersion()
getFileVersion in interface EncogPersistorpublic String getPersistClassString()
getPersistClassString in interface EncogPersistorpublic Object read(InputStream is)
EncogPersistorread in interface EncogPersistoris - The input stream.public void save(OutputStream os, Object obj)
EncogPersistorsave in interface EncogPersistoros - The output stream to save to.obj - The object to save.Copyright © 2014. All Rights Reserved.