C# Class SharpNeat.Domains.PreyCapture.PreyCaptureView

View for the prey capture task.
Inheritance: AbstractDomainView
ファイルを表示 Open project: colgreen/sharpneat

Public Methods

Method Description
PreyCaptureView ( IBlackBox>.IGenomeDecoder genomeDecoder, PreyCaptureWorld world ) : System

Construct the view with an appropriately configured world and a genome decoder for decoding genomes as they are passed into RefreshView().

RefreshView ( object genome ) : void

Refresh/update the view with the provided genome.

Protected Methods

Method Description
OnHandleDestroyed ( EventArgs e ) : void

Private Methods

Method Description
PaintView ( ) : void
RunTrial ( ) : void

Run a single prey capture trial.

SimulationThread ( ) : void

Simulate prey capture until thread is terminated.

pbx_SizeChanged ( object sender, System e ) : void

Method Details

OnHandleDestroyed() protected method

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
return void

PreyCaptureView() public method

Construct the view with an appropriately configured world and a genome decoder for decoding genomes as they are passed into RefreshView().
public PreyCaptureView ( IBlackBox>.IGenomeDecoder genomeDecoder, PreyCaptureWorld world ) : System
genomeDecoder IBlackBox>.IGenomeDecoder
world PreyCaptureWorld
return System

RefreshView() public method

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