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.
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
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