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.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

AddColumn() public méthode

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

AddColumn() public méthode

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

AddColumn() public méthode

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

AddColumn() public méthode

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

AddColumns() public méthode

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

AddLine() public méthode

Add a line.
public AddLine ( String l ) : void
l String The line to add.
Résultat void

AddProperties() public méthode

Add the specified properties.
public AddProperties ( String>.IDictionary properties ) : void
properties String>.IDictionary The properties.
Résultat void

AddSection() public méthode

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

AddSubSection() public méthode

Add a new subsection.
public AddSubSection ( String str ) : void
str String The subsection.
Résultat void

EncogWriteHelper() public méthode

Construct the object.
public EncogWriteHelper ( Stream stream ) : System
stream Stream The stream to write to.
Résultat System

Flush() public méthode

Flush the file.
public Flush ( ) : void
Résultat void

Write() public méthode

Write the specified string.
public Write ( String str ) : void
str String The string to write.
Résultat void

WriteLine() public méthode

Write the line.
public WriteLine ( ) : void
Résultat void

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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.
Résultat void

WriteProperty() public méthode

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