org.encog.persist.persistors
Class RadialBasisFunctionLayerPersistor

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

public class RadialBasisFunctionLayerPersistor
extends Object
implements Persistor

The Encog persistor used to persist the RadialBasisFunctionLayer class.

Author:
jheaton

Field Summary
static String PROPERTY_CENTERS
          The centers.
static String PROPERTY_PEAK
          The peak.
static String PROPERTY_RBF
          XML tag for the radial functions collection.
static String PROPERTY_WIDTH
          The width.
 
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_RBF

public static final String PROPERTY_RBF
XML tag for the radial functions collection.

See Also:
Constant Field Values

PROPERTY_CENTERS

public static final String PROPERTY_CENTERS
The centers.

See Also:
Constant Field Values

PROPERTY_PEAK

public static final String PROPERTY_PEAK
The peak.

See Also:
Constant Field Values

PROPERTY_WIDTH

public static final String PROPERTY_WIDTH
The width.

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.


Copyright © 2011. All Rights Reserved.