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 EncogPersistor
public String getPersistClassString()
getPersistClassString
in interface EncogPersistor
public Object read(InputStream is)
EncogPersistor
read
in interface EncogPersistor
is
- The input stream.public void save(OutputStream os, Object obj)
EncogPersistor
save
in interface EncogPersistor
os
- The output stream to save to.obj
- The object to save.Copyright © 2014. All Rights Reserved.