The Encog Project

org.encog.persist.persistors
Class ActivationGaussianPersistor

java.lang.Object
  extended by org.encog.persist.persistors.ActivationGaussianPersistor
All Implemented Interfaces:
Persistor

public class ActivationGaussianPersistor
extends java.lang.Object
implements Persistor

The Encog persistor used to persist the ActivationGaussian class.

Author:
jheaton

Field Summary
static java.lang.String ATTRIBUTE_CENTER
          THe center attribute.
static java.lang.String ATTRIBUTE_PEAK
          The peak attribute.
static java.lang.String ATTRIBUTE_WIDTH
          The width attribute.
 
Constructor Summary
ActivationGaussianPersistor()
           
 
Method Summary
 EncogPersistedObject load(ReadXML in)
          Load the specified Encog object from an XML reader.
 void save(EncogPersistedObject obj, WriteXML out)
          Save the specified Encog object to an XML writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_CENTER

public static final java.lang.String ATTRIBUTE_CENTER
THe center attribute.

See Also:
Constant Field Values

ATTRIBUTE_PEAK

public static final java.lang.String ATTRIBUTE_PEAK
The peak attribute.

See Also:
Constant Field Values

ATTRIBUTE_WIDTH

public static final java.lang.String ATTRIBUTE_WIDTH
The width attribute.

See Also:
Constant Field Values
Constructor Detail

ActivationGaussianPersistor

public ActivationGaussianPersistor()
Method Detail

load

public EncogPersistedObject load(ReadXML in)
Load the specified Encog object from an XML reader.

Specified by:
load in interface Persistor
Parameters:
in - The XML reader to use.
Returns:
The loaded object.

save

public void save(EncogPersistedObject obj,
                 WriteXML out)
Save the specified Encog object to an XML writer.

Specified by:
save in interface Persistor
Parameters:
obj - The object to save.
out - The XML writer to save to.

The Encog Project