The Encog Project

org.encog.persist.persistors
Class RadialBasisFunctionLayerPersistor

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

public class RadialBasisFunctionLayerPersistor
extends java.lang.Object
implements Persistor

The Encog persistor used to persist the RadialBasisFunctionLayer class.

Author:
jheaton

Field Summary
static java.lang.String PROPERTY_CENTER
          The center of the RBF.
static java.lang.String PROPERTY_PEAK
          The peak of the RBF.
static java.lang.String PROPERTY_RADIAL_FUNCTION
          XML tag for the radial functions collection.
static java.lang.String PROPERTY_RADIAL_FUNCTIONS
          XML tag for the radial functions collection.
static java.lang.String PROPERTY_WIDTH
          The width of the RBF.
 
Constructor Summary
RadialBasisFunctionLayerPersistor()
           
 
Method Summary
 EncogPersistedObject load(ReadXML in)
          Load a RBF layer.
 void save(EncogPersistedObject obj, WriteXML out)
          Save a RBF layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_RADIAL_FUNCTIONS

public static final java.lang.String PROPERTY_RADIAL_FUNCTIONS
XML tag for the radial functions collection.

See Also:
Constant Field Values

PROPERTY_RADIAL_FUNCTION

public static final java.lang.String PROPERTY_RADIAL_FUNCTION
XML tag for the radial functions collection.

See Also:
Constant Field Values

PROPERTY_CENTER

public static final java.lang.String PROPERTY_CENTER
The center of the RBF. XML property.

See Also:
Constant Field Values

PROPERTY_PEAK

public static final java.lang.String PROPERTY_PEAK
The peak of the RBF. XML property.

See Also:
Constant Field Values

PROPERTY_WIDTH

public static final java.lang.String PROPERTY_WIDTH
The width of the RBF. XML property.

See Also:
Constant Field Values
Constructor Detail

RadialBasisFunctionLayerPersistor

public RadialBasisFunctionLayerPersistor()
Method Detail

load

public EncogPersistedObject load(ReadXML in)
Load a RBF layer.

Specified by:
load in interface Persistor
Parameters:
in - The XML to read from.
Returns:
The object that was loaded.

save

public void save(EncogPersistedObject obj,
                 WriteXML out)
Save a RBF layer.

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

The Encog Project