Method | Description | |
---|---|---|
GenomeForm ( string title, AbstractGenomeView genomeViewControl, AbstractGenerationalAlgorithm |
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 |
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.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
GenomeForm_FormClosing ( object sender, FormClosingEventArgs e ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public GenomeForm ( string title, AbstractGenomeView genomeViewControl, AbstractGenerationalAlgorithm |
||
title | string | |
genomeViewControl | AbstractGenomeView | |
ea | AbstractGenerationalAlgorithm |
|
return | System |
public Reconnect ( AbstractGenerationalAlgorithm |
||
ea | AbstractGenerationalAlgorithm |
|
return | void |
public _ea_UpdateEvent ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |