C# 클래스 SharpNeat.Domains.BoxesVisualDiscrimination.TestCaseField

Represents test cases for the Boxes visual discrimination task. The test case field is fixed at a resolution of 11x11 the visual field of the agents being evaluated on the task can have a variable visual field resolution - the visual field pixels sample the 11x11 pixels in the test field.
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
GetPixel ( double x, double y ) : double

Gets the value of the pixel at a position in the 'real/sensor' coordinate space (continuous x and y, -1 to 1).

InitTestCase ( int largeBoxRelativePos ) : IntPoint

(Re)initialize with a fresh test case. Returns the target point (center of large box).

TestCaseField ( ) : Redzen.Numerics

Default constructor.

비공개 메소드들

메소드 설명
GenerateRandomTestCase ( int largeBoxRelativePos ) : IntPoint[]

메소드 상세

GetPixel() 공개 메소드

Gets the value of the pixel at a position in the 'real/sensor' coordinate space (continuous x and y, -1 to 1).
public GetPixel ( double x, double y ) : double
x double
y double
리턴 double

InitTestCase() 공개 메소드

(Re)initialize with a fresh test case. Returns the target point (center of large box).
public InitTestCase ( int largeBoxRelativePos ) : IntPoint
largeBoxRelativePos int
리턴 IntPoint

TestCaseField() 공개 메소드

Default constructor.
public TestCaseField ( ) : Redzen.Numerics
리턴 Redzen.Numerics