org.encog.neural.neat
Class PersistNEATPopulation
java.lang.Object
org.encog.neural.neat.PersistNEATPopulation
- All Implemented Interfaces:
- EncogPersistor
public class PersistNEATPopulation
- extends Object
- implements EncogPersistor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistNEATPopulation
public PersistNEATPopulation()
getPersistClassString
public String getPersistClassString()
- Specified by:
getPersistClassString in interface EncogPersistor
- Returns:
- Get the class string for the object.
read
public Object read(InputStream is)
- Description copied from interface:
EncogPersistor
- Read the object from an input stream.
- Specified by:
read in interface EncogPersistor
- Parameters:
is - The input stream.
- Returns:
- The object.
save
public void save(OutputStream os,
Object obj)
- Description copied from interface:
EncogPersistor
- Save the object.
- Specified by:
save in interface EncogPersistor
- Parameters:
os - The output stream to save to.obj - The object to save.
getFileVersion
public int getFileVersion()
- Specified by:
getFileVersion in interface EncogPersistor
- Returns:
- Get the file version used by this persistor.
neuronTypeToString
public static String neuronTypeToString(NEATNeuronType t)
innovationTypeToString
public static String innovationTypeToString(NEATInnovationType t)
stringToInnovationType
public static NEATInnovationType stringToInnovationType(String t)
stringToNeuronType
public static NEATNeuronType stringToNeuronType(String t)
Copyright © 2012. All Rights Reserved.