C# Класс SharpNeat.Domains.DoublePoleBalancing.JiggleBuffer

This is a circular buffer of double precision floating point numbers, customised for use in the double pole experiments. This buffer maintains a total of all of the values it contains, adjusting for values that are overwritten when the buffer overwrites old values.
Показать файл Открыть проект Примеры использования класса

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

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

Clear the buffer.

Dequeue ( ) : double

Remove an item from the back of the queue.

Enqueue ( double item ) : void

Add an item to the front of the buffer.

JiggleBuffer ( int size ) : System

Construct buffer with the specified capacity.

Pop ( ) : double

Pop an item from the head/top of the queue.

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

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

Clear the buffer.
public Clear ( ) : void
Результат void

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

Remove an item from the back of the queue.
public Dequeue ( ) : double
Результат double

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

Add an item to the front of the buffer.
public Enqueue ( double item ) : void
item double
Результат void

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

Construct buffer with the specified capacity.
public JiggleBuffer ( int size ) : System
size int
Результат System

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

Pop an item from the head/top of the queue.
public Pop ( ) : double
Результат double