C# Class 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.
Afficher le fichier Open project: colgreen/sharpneat Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GenerateRandomTestCase ( int largeBoxRelativePos ) : IntPoint[]

Method Details

GetPixel() public méthode

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
Résultat double

InitTestCase() public méthode

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

TestCaseField() public méthode

Default constructor.
public TestCaseField ( ) : Redzen.Numerics
Résultat Redzen.Numerics