C# Class Encog.Persist.EncogFileSection

This class is used internally to parse Encog files. A file section is part of a name-value pair file.
Datei anzeigen Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
EncogFileSection ( String theSectionName, String theSubSectionName ) : System

Construct the object.

ParseActivationFunction ( String>.IDictionary paras, String name ) : IActivationFunction

Parse an activation function from a string.

ParseBoolean ( String>.IDictionary paras, String name ) : bool

Parse a boolean from a name-value collection of params.

ParseDouble ( String>.IDictionary paras, String name ) : double

Parse a double from a name-value collection of params.

ParseDoubleArray ( String>.IDictionary paras, String name ) : double[]

Parse a double array from a name-value collection of params.

ParseInt ( String>.IDictionary paras, String name ) : int

Parse an int from a name-value collection of params.

ParseIntArray ( String>.IDictionary paras, String name ) : int[]

Parse an int array from a name-value collection of params.

ParseMatrix ( String>.IDictionary paras, String name ) : Matrix

Parse a matrix from a name-value collection of params.

ParseParams ( ) : String>.IDictionary
SplitColumns ( String line ) : IList

Split a delimited string into columns.

ToString ( ) : String

Method Details

EncogFileSection() public method

Construct the object.
public EncogFileSection ( String theSectionName, String theSubSectionName ) : System
theSectionName String The section name.
theSubSectionName String The sub section name.
return System

ParseActivationFunction() public static method

Parse an activation function from a string.
public static ParseActivationFunction ( String>.IDictionary paras, String name ) : IActivationFunction
paras String>.IDictionary The params.
name String The name of the param to parse.
return IActivationFunction

ParseBoolean() public static method

Parse a boolean from a name-value collection of params.
public static ParseBoolean ( String>.IDictionary paras, String name ) : bool
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return bool

ParseDouble() public static method

Parse a double from a name-value collection of params.
public static ParseDouble ( String>.IDictionary paras, String name ) : double
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return double

ParseDoubleArray() public static method

Parse a double array from a name-value collection of params.
public static ParseDoubleArray ( String>.IDictionary paras, String name ) : double[]
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return double[]

ParseInt() public static method

Parse an int from a name-value collection of params.
public static ParseInt ( String>.IDictionary paras, String name ) : int
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return int

ParseIntArray() public static method

Parse an int array from a name-value collection of params.
public static ParseIntArray ( String>.IDictionary paras, String name ) : int[]
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return int[]

ParseMatrix() public static method

Parse a matrix from a name-value collection of params.
public static ParseMatrix ( String>.IDictionary paras, String name ) : Matrix
paras String>.IDictionary The name-value pairs.
name String The name to parse.
return Matrix

ParseParams() public method

public ParseParams ( ) : String>.IDictionary
return String>.IDictionary

SplitColumns() public static method

Split a delimited string into columns.
public static SplitColumns ( String line ) : IList
line String THe string to split.
return IList

ToString() public final method

public final ToString ( ) : String
return String