C# Class SharpNeat.Domains.BoxesVisualDiscriminationView

Inheritance: AbstractDomainView
ファイルを表示 Open project: colgreen/sharpneat

Public Methods

Method Description
BoxesVisualDiscriminationView ( BoxesVisualDiscriminationExperiment experiment ) : System

Construct with an INeatExperiment. This provides config data parsed from the experiment config XML and a method for creating genome decoders for different visual resolutions.

RefreshView ( object genome ) : void

Refresh/update the view with the provided genome.

Private Methods

Method Description
GetResponseColor ( double response ) : Color
PaintView ( IBlackBox box ) : void
SetResolution ( int visualFieldResolution ) : void
btnNextTestCase_Click ( object sender, EventArgs e ) : void
cbxResolution_SelectedIndexChanged ( object sender, EventArgs e ) : void
pbx_MouseMove ( object sender, MouseEventArgs e ) : void
pbx_SizeChanged ( object sender, System e ) : void

Method Details

BoxesVisualDiscriminationView() public method

Construct with an INeatExperiment. This provides config data parsed from the experiment config XML and a method for creating genome decoders for different visual resolutions.
public BoxesVisualDiscriminationView ( BoxesVisualDiscriminationExperiment experiment ) : System
experiment SharpNeat.Domains.BoxesVisualDiscrimination.BoxesVisualDiscriminationExperiment
return System

RefreshView() public method

Refresh/update the view with the provided genome.
public RefreshView ( object genome ) : void
genome object
return void