C# Class Encog.Persist.EncogWriteHelper

Used to write an Encog EG/EGA file. EG files are used to hold Encog objects. EGA files are used to hold Encog Analyst scripts.
ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
AddColumn ( String str ) : void

Add a column as a string.

AddColumn ( bool b ) : void

Add a boolean value as a column.

AddColumn ( double d ) : void

Add a column as a double.

AddColumn ( int i ) : void

Add a column as an integer.

AddColumn ( long v ) : void

Add a column as a long.

AddColumns ( IList cols ) : void

Add a list of string columns.

AddLine ( String l ) : void

Add a line.

AddProperties ( String>.IDictionary properties ) : void

Add the specified properties.

AddSection ( String str ) : void

Add a new section.

AddSubSection ( String str ) : void

Add a new subsection.

EncogWriteHelper ( Stream stream ) : System

Construct the object.

Flush ( ) : void

Flush the file.

Write ( String str ) : void

Write the specified string.

WriteLine ( ) : void

Write the line.

WriteProperty ( String name, CSVFormat csvFormat ) : void

Write a property as a CSV format.

WriteProperty ( String name, IActivationFunction act ) : void

Write a property as an activation function.

WriteProperty ( String name, Matrix matrix ) : void

Write a matrix as a property.

WriteProperty ( String name, String value_ren ) : void

Write the property a s string.

WriteProperty ( String name, bool value_ren ) : void

Write the property as a boolean.

WriteProperty ( String name, double value_ren ) : void

Write the property as a double.

WriteProperty ( String name, int value_ren ) : void

Write a property as an int value.

WriteProperty ( String name, long v ) : void

Write the property as a long.

Method Details

AddColumn() public method

Add a column as a string.
public AddColumn ( String str ) : void
str String The string to add.
return void

AddColumn() public method

Add a boolean value as a column.
public AddColumn ( bool b ) : void
b bool The boolean value.
return void

AddColumn() public method

Add a column as a double.
public AddColumn ( double d ) : void
d double The double to add.
return void

AddColumn() public method

Add a column as an integer.
public AddColumn ( int i ) : void
i int The integer to add.
return void

AddColumn() public method

Add a column as a long.
public AddColumn ( long v ) : void
v long The long to add.
return void

AddColumns() public method

Add a list of string columns.
public AddColumns ( IList cols ) : void
cols IList The columns to add.
return void

AddLine() public method

Add a line.
public AddLine ( String l ) : void
l String The line to add.
return void

AddProperties() public method

Add the specified properties.
public AddProperties ( String>.IDictionary properties ) : void
properties String>.IDictionary The properties.
return void

AddSection() public method

Add a new section.
public AddSection ( String str ) : void
str String The section to add.
return void

AddSubSection() public method

Add a new subsection.
public AddSubSection ( String str ) : void
str String The subsection.
return void

EncogWriteHelper() public method

Construct the object.
public EncogWriteHelper ( Stream stream ) : System
stream Stream The stream to write to.
return System

Flush() public method

Flush the file.
public Flush ( ) : void
return void

Write() public method

Write the specified string.
public Write ( String str ) : void
str String The string to write.
return void

WriteLine() public method

Write the line.
public WriteLine ( ) : void
return void

WriteProperty() public method

Write a property as a CSV format.
public WriteProperty ( String name, CSVFormat csvFormat ) : void
name String The name of the property.
csvFormat Encog.Util.CSV.CSVFormat The format.
return void

WriteProperty() public method

Write a property as an activation function.
public WriteProperty ( String name, IActivationFunction act ) : void
name String The name of the property.
act IActivationFunction The activation function.
return void

WriteProperty() public method

Write a matrix as a property.
public WriteProperty ( String name, Matrix matrix ) : void
name String The property name.
matrix Matrix The matrix.
return void

WriteProperty() public method

Write the property a s string.
public WriteProperty ( String name, String value_ren ) : void
name String The name of the property.
value_ren String The value.
return void

WriteProperty() public method

Write the property as a boolean.
public WriteProperty ( String name, bool value_ren ) : void
name String The name of the property.
value_ren bool The boolean value.
return void

WriteProperty() public method

Write the property as a double.
public WriteProperty ( String name, double value_ren ) : void
name String The name of the property.
value_ren double The value.
return void

WriteProperty() public method

Write a property as an int value.
public WriteProperty ( String name, int value_ren ) : void
name String The name of the property.
value_ren int The int value.
return void

WriteProperty() public method

Write the property as a long.
public WriteProperty ( String name, long v ) : void
name String The name of the property.
v long The value.
return void