org.encog.neural.neat
Class PersistNEATPopulation
- java.lang.Object
-
- org.encog.neural.neat.PersistNEATPopulation
-
- All Implemented Interfaces:
- EncogPersistor
public class PersistNEATPopulation extends java.lang.Object implements EncogPersistor
Persist a NEAT or HyperNEAT network. ----------------------------------------------------------------------------- http://www.cs.ucf.edu/~kstanley/ Encog's NEAT implementation was drawn from the following three Journal Articles. For more complete BibTeX sources, see NEATNetwork.java. Evolving Neural Networks Through Augmenting Topologies Generating Large-Scale Neural Networks Through Discovering Geometric Regularities Automatic feature selection in neuroevolution
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringTYPE_CPPNType for the Compositional pattern-producing networks used by HyperNEAT.
-
Constructor Summary
Constructors Constructor and Description PersistNEATPopulation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetFileVersion()java.lang.StringgetPersistClassString()static java.lang.StringneuronTypeToString(NEATNeuronType t)Convert a NEATNeuronType enum to a string.java.lang.Objectread(java.io.InputStream is)Read the object from an input stream.voidsave(java.io.OutputStream os, java.lang.Object obj)Save the object.static NEATNeuronTypestringToNeuronType(java.lang.String t)
-
-
-
Field Detail
-
TYPE_CPPN
public static final java.lang.String TYPE_CPPN
Type for the Compositional pattern-producing networks used by HyperNEAT.- See Also:
- Constant Field Values
-
-
Method Detail
-
neuronTypeToString
public static java.lang.String neuronTypeToString(NEATNeuronType t)
Convert a NEATNeuronType enum to a string.- Parameters:
t- The type.- Returns:
- The string type.
-
stringToNeuronType
public static NEATNeuronType stringToNeuronType(java.lang.String t)
-
getFileVersion
public int getFileVersion()
- Specified by:
getFileVersionin interfaceEncogPersistor- Returns:
- Get the file version used by this persistor.
-
getPersistClassString
public java.lang.String getPersistClassString()
- Specified by:
getPersistClassStringin interfaceEncogPersistor- Returns:
- Get the class string for the object.
-
read
public java.lang.Object read(java.io.InputStream is)
Description copied from interface:EncogPersistorRead the object from an input stream.- Specified by:
readin interfaceEncogPersistor- Parameters:
is- The input stream.- Returns:
- The object.
-
save
public void save(java.io.OutputStream os, java.lang.Object obj)Description copied from interface:EncogPersistorSave the object.- Specified by:
savein interfaceEncogPersistor- Parameters:
os- The output stream to save to.obj- The object to save.
-
-
DMelt 3.0 © DataMelt by jWork.ORG