C# Class SharpNeatGUI.ProblemDomainForm

Afficher le fichier Open project: colgreen/sharpneat Class Usage Examples

Méthodes publiques

Méthode Description
ProblemDomainForm ( string title, AbstractDomainView domainViewControl, AbstractGenerationalAlgorithm ea ) : System

Construct with the provided form title, genome view/renderer and evolution algorithm. We listen to update events from the evolution algorithm and cleanly detach from it when this form closes.

Reconnect ( AbstractGenerationalAlgorithm ea ) : void

Called when a new evolution algorithm is initialized. Clean up any existing event listeners and connect up to the new evolution algorithm.

RefreshView ( ) : void

Refresh view.

_ea_UpdateEvent ( object sender, EventArgs e ) : void

Handle update event from the evolution algorithm - update the view.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ProblemDomainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

ProblemDomainForm() public méthode

Construct with the provided form title, genome view/renderer and evolution algorithm. We listen to update events from the evolution algorithm and cleanly detach from it when this form closes.
public ProblemDomainForm ( string title, AbstractDomainView domainViewControl, AbstractGenerationalAlgorithm ea ) : System
title string
domainViewControl AbstractDomainView
ea AbstractGenerationalAlgorithm
Résultat System

Reconnect() public méthode

Called when a new evolution algorithm is initialized. Clean up any existing event listeners and connect up to the new evolution algorithm.
public Reconnect ( AbstractGenerationalAlgorithm ea ) : void
ea AbstractGenerationalAlgorithm
Résultat void

RefreshView() public méthode

Refresh view.
public RefreshView ( ) : void
Résultat void

_ea_UpdateEvent() public méthode

Handle update event from the evolution algorithm - update the view.
public _ea_UpdateEvent ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void