C# 클래스 SharpNeatGUI.MainForm

SharpNEAT main GUI window.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: colgreen/sharpneat

공개 메소드들

메소드 설명
MainForm ( ) : System

Construct and initialize the form.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CalcDistributionDataPoints ( double valArr ) : SharpNeat.Utility.Point2DDouble[]
GenerateNiceColors ( int count ) : Color[]
GetSelectedExperiment ( ) : IGuiNeatExperiment
InitProblemDomainList ( ) : void

Initialise the problem domain combobox. The list of problem domains is read from an XML file; this allows changes to be made and new domains to be plugged-in without recompiling binaries.

InitializeComponent ( ) : void

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

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Gracefully handle application exit request.

ParseDouble ( TextBox txtBox, double defaultVal ) : double
ParseDouble ( TextBox txtBox ) : double?
ParseInt ( TextBox txtBox, int defaultVal ) : int
ParseInt ( TextBox txtBox ) : int?
ReadAndUpdateExperimentParams ( ) : void

Read experimental parameters from the GUI and update _selectedExperiment with the read values.

SelectFileToOpen ( string dialogTitle, string fileExtension, string filter ) : string

Ask the user for a filename / path.

SelectFileToSave ( string dialogTitle, string fileExtension, string filter ) : string

Ask the user for a filename / path.

UpdateGuiState ( ) : void
UpdateGuiState_EaReadyPaused ( ) : void

Evolution algorithm is ready/paused.

UpdateGuiState_EaRunning ( ) : void

Evolution algorithm is running.

UpdateGuiState_EaStats ( ) : void
UpdateGuiState_NoPopulation ( ) : void
UpdateGuiState_PopulationReady ( ) : void
UpdateGuiState_ResetStats ( ) : void
UpdateRankedDataPoints ( double valArr, Point2DDouble &pointArr ) : void

Updates an Point2DDouble array by sorting an array of values and copying the sorted values over the existing values in pointArr. Optionally creates the Point2DDouble array if it is null or is the wrong size.

UpdateRankedDataPoints ( int valArr, Point2DDouble &pointArr ) : void

Updates an Point2DDouble array by sorting an array of values and copying the sorted values over the existing values in pointArr. Optionally creates the Point2DDouble array if it is null or is the wrong size.

_ea_PausedEvent ( object sender, EventArgs e ) : void
_ea_UpdateEvent ( object sender, EventArgs e ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
bestGenomeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnCopyLogToClipboard_Click ( object sender, EventArgs e ) : void
btnCreateRandomPop_Click ( object sender, EventArgs e ) : void
btnExperimentInfo_Click ( object sender, EventArgs e ) : void
btnLoadDomainDefaults_Click ( object sender, EventArgs e ) : void
btnSearchReset_Click ( object sender, EventArgs e ) : void
btnSearchStart_Click ( object sender, EventArgs e ) : void
btnSearchStop_Click ( object sender, EventArgs e ) : void
cmbExperiments_SelectedIndexChanged ( object sender, EventArgs e ) : void
complexityBestMeansToolStripMenuItem_Click ( object sender, EventArgs e ) : void
evaluationsPerSecToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fitnessBestMeansToolStripMenuItem_Click ( object sender, EventArgs e ) : void
genomeComplexityByRankToolStripMenuItem_Click ( object sender, EventArgs e ) : void
genomeComplexityDistributionToolStripMenuItem_Click ( object sender, EventArgs e ) : void
genomeFitnessByRankToolStripMenuItem_Click ( object sender, EventArgs e ) : void
genomeFitnessDistributionToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadPopulationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadSeedGenomeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadSeedGenomesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
problemDomainToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveBestGenomeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
savePopulationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieChampComplexityByRankToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieChampFitnessByRankToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieComplexityDistributionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieFitnessDistributionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieSizeByRankToolStripMenuItem_Click ( object sender, EventArgs e ) : void
specieSizeDistributionToolStripMenuItem_Click ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

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

MainForm() 공개 메소드

Construct and initialize the form.
public MainForm ( ) : System
리턴 System