C# Class SharpNeat.Domains.FunctionRegression.FunctionRegressionView2D

Show file Open project: colgreen/sharpneat

Public Methods

Method Description
FunctionRegressionView2D ( IFunction func, double xMin, double xIncr, int sampleCount, IBlackBox>.IGenomeDecoder genomeDecoder ) : System.Drawing

Constructs with the details of the function regression problem to be visualized.

RefreshView ( object genome ) : void

Refresh/update the view with the provided genome.

Private Methods

Method Description
InitGraph ( string title, string xAxisTitle, string yAxisTitle ) : void

Method Details

FunctionRegressionView2D() public method

Constructs with the details of the function regression problem to be visualized.
public FunctionRegressionView2D ( IFunction func, double xMin, double xIncr, int sampleCount, IBlackBox>.IGenomeDecoder genomeDecoder ) : System.Drawing
func IFunction The function being regressed.
xMin double The minimum value of the input range being sampled.
xIncr double The increment between input sample values.
sampleCount int The number of samples over the input range.
genomeDecoder IBlackBox>.IGenomeDecoder Genome decoder.
return System.Drawing

RefreshView() public method

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