The Encog Project

org.encog.persist
Interface Persistor

All Known Implementing Classes:
ActivationBiPolarPersistor, ActivationCompetitivePersistor, ActivationGaussianPersistor, ActivationLinearPersistor, ActivationLOGPersistor, ActivationSigmoidPersistor, ActivationSINPersistor, ActivationSoftMaxPersistor, ActivationTANHPersistor, BasicLayerPersistor, BasicNetworkPersistor, BasicNeuralDataSetPersistor, ContextLayerPersistor, DirectSynapsePersistor, GenericPersistor, OneToOneSynapsePersistor, PropertyDataPersistor, RadialBasisFunctionLayerPersistor, TextDataPersistor, TrainingContinuationPersistor, WeightedSynapsePersistor, WeightlessSynapsePersistor

public interface Persistor

This interface defines a class that can load and save an EncogPersistedObject.

Author:
jheaton

Method Summary
 EncogPersistedObject load(ReadXML in)
          Load from the specified node.
 void save(EncogPersistedObject object, WriteXML out)
          Save the specified object.
 

Method Detail

load

EncogPersistedObject load(ReadXML in)
Load from the specified node.

Parameters:
in - The node to load from.
Returns:
The EncogPersistedObject that was loaded.

save

void save(EncogPersistedObject object,
          WriteXML out)
Save the specified object.

Parameters:
object - The object to save.
out - The XML object.

The Encog Project