C# Класс Encog.Neural.Data.Buffer.EncogEGBFile

Reads in little endian form.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Close ( ) : void

Close the file.

Create ( int inputCount, int idealCount ) : void

Create a new RGB file.

EncogEGBFile ( String file ) : System

Construct an EGB file.

Open ( ) : void

Open an existing EGB file.

Read ( ) : double

Read a single double.

Read ( int row, int col ) : double

Read a row and column.

Read ( double d ) : void

Read an array of doubles.

Read ( int row, double d ) : void

Read a double array at the specified record.

SetLocation ( int row ) : void

Set the current location to the specified row.

Write ( byte b ) : void

Write a byte.

Write ( double v ) : void

Write an array.

Write ( int row, double v ) : void

Write an array at the specified record.

Write ( int row, int col, double v ) : void

Write the specified row and column.

Приватные методы

Метод Описание
CalculateIndex ( int row ) : int

Calculate the index for the specified row.

CalculateIndex ( int row, int col ) : int

Read a row and column.

Описание методов

Close() публичный Метод

Close the file.
public Close ( ) : void
Результат void

Create() публичный Метод

Create a new RGB file.
public Create ( int inputCount, int idealCount ) : void
inputCount int The input count.
idealCount int The ideal count.
Результат void

EncogEGBFile() публичный Метод

Construct an EGB file.
public EncogEGBFile ( String file ) : System
file String The file.
Результат System

Open() публичный Метод

Open an existing EGB file.
public Open ( ) : void
Результат void

Read() публичный Метод

Read a single double.
public Read ( ) : double
Результат double

Read() публичный Метод

Read a row and column.
public Read ( int row, int col ) : double
row int The row to read.
col int The column to read.
Результат double

Read() публичный Метод

Read an array of doubles.
public Read ( double d ) : void
d double The array to read into.
Результат void

Read() публичный Метод

Read a double array at the specified record.
public Read ( int row, double d ) : void
row int The record to read.
d double The array to read into.
Результат void

SetLocation() публичный Метод

Set the current location to the specified row.
public SetLocation ( int row ) : void
row int The row.
Результат void

Write() публичный Метод

Write a byte.
public Write ( byte b ) : void
b byte The byte to write.
Результат void

Write() публичный Метод

Write an array.
public Write ( double v ) : void
v double The array to write.
Результат void

Write() публичный Метод

Write an array at the specified record.
public Write ( int row, double v ) : void
row int The record to write.
v double The array to write.
Результат void

Write() публичный Метод

Write the specified row and column.
public Write ( int row, int col, double v ) : void
row int The row.
col int The column.
v double The value.
Результат void