C# Class Encog.Persist.Persistors.BasicLayerPersistor

Provides basic functions that many of the persistors will need.
Inheritance: IPersistor
ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Load ( ReadXML xmlIn ) : IEncogPersistedObject

Load the specified Encog object from an XML reader.

LoadActivation ( String type, ReadXML xmlIn ) : IActivationFunction

Load the specified activation function.

Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void

Save the specified Encog object to an XML writer.

SaveActivationFunction ( IActivationFunction activationFunction, WriteXML xmlOut ) : void

Save the activation function.

Method Details

Load() public method

Load the specified Encog object from an XML reader.
public Load ( ReadXML xmlIn ) : IEncogPersistedObject
xmlIn Encog.Parse.Tags.Read.ReadXML The XML reader to use.
return IEncogPersistedObject

LoadActivation() public static method

Load the specified activation function.
public static LoadActivation ( String type, ReadXML xmlIn ) : IActivationFunction
type String The type of activation function.
xmlIn Encog.Parse.Tags.Read.ReadXML The XML.
return IActivationFunction

Save() public method

Save the specified Encog object to an XML writer.
public Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void
obj IEncogPersistedObject The object to save.
xmlOut Encog.Parse.Tags.Write.WriteXML The XML writer to save to.
return void

SaveActivationFunction() public static method

Save the activation function.
public static SaveActivationFunction ( IActivationFunction activationFunction, WriteXML xmlOut ) : void
activationFunction IActivationFunction The activation function.
xmlOut Encog.Parse.Tags.Write.WriteXML The XML.
return void