C# Class SharpNeat.Domains.PreyCapture.PreyCaptureView

View for the prey capture task.
Inheritance: AbstractDomainView
Afficher le fichier Open project: colgreen/sharpneat

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnHandleDestroyed ( EventArgs e ) : void

Private Methods

Méthode 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 méthode

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
Résultat void

PreyCaptureView() public méthode

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

RefreshView() public méthode

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