C# Class SharpNeatGUI.TimeSeriesGraphForm

Form for displaying a graph plot of time series data (e.g. best genome fitness per generation).
Inheritance: System.Windows.Forms.Form
显示文件 Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
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.

TimeSeriesGraphForm ( string title, string xAxisTitle, string y1AxisTitle, string y2AxisTitle, TimeSeriesDataSource dataSourceArray, AbstractGenerationalAlgorithm ea ) : System

Construct the form with the provided details and data sources.

_ea_UpdateEvent ( object sender, EventArgs e ) : void

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GenomeForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
InitGraph ( string title, string xAxisTitle, string y1AxisTitle, string y2AxisTitle, TimeSeriesDataSource dataSourceArray ) : void
InitializeComponent ( ) : void

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

Method Details

Dispose() protected method

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

Reconnect() public method

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
return void

TimeSeriesGraphForm() public method

Construct the form with the provided details and data sources.
public TimeSeriesGraphForm ( string title, string xAxisTitle, string y1AxisTitle, string y2AxisTitle, TimeSeriesDataSource dataSourceArray, AbstractGenerationalAlgorithm ea ) : System
title string
xAxisTitle string
y1AxisTitle string
y2AxisTitle string
dataSourceArray TimeSeriesDataSource
ea AbstractGenerationalAlgorithm
return System

_ea_UpdateEvent() public method

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