C# Class GeneticAlgorithmsGUI_EN.GUI

Inheritance: System.Windows.Forms.Form
Show file Open project: DanielBaulig/Genetic-Algorithms

Public Methods

Method Description
GUI ( ) : System

Constructor - Initialisation of the UI

setSpaceship ( int height, int thrust ) : void

Spaceship Image on the Background in place at certain level

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GUI_FormClosing ( object sender, FormClosingEventArgs e ) : void

Cancel any simulation is running when you exit the program.

InitializeComponent ( ) : void

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

OnMondlandungsSimulationTurn ( object sender, EventArgs e ) : void

Moon touchdown simulations round through

OnSimulationTurn ( object sender, EventArgs e ) : void

Go through the simulation rounds

btn_Abspielen_Click ( object sender, EventArgs e ) : void

Playing a moon landing with the selected population list of chromosomes

btn_SimAbbrechen_Click ( object sender, EventArgs e ) : void

Abort simulation running

btn_Simuliere_Click ( object sender, EventArgs e ) : void

Simulation start

btn_Zuruecksetzten_Click ( object sender, EventArgs e ) : void

Reset the simulation results

chk_AVGFitness_CheckedChanged ( object sender, EventArgs e ) : void

Hide average fitness of the population

chk_Duration_CheckedChanged ( object sender, EventArgs e ) : void

Toggle average chromosome length of the population

chk_maxFitness_CheckedChanged ( object sender, EventArgs e ) : void

Hide Maximum fitness of the population

chk_minFitness_CheckedChanged ( object sender, EventArgs e ) : void

Hide Minimum fitness of the population

cmb_Rekombinator_SelectedIndexChanged ( object sender, EventArgs e ) : void

Selected recombinator

cmb_Selektor_SelectedIndexChanged ( object sender, EventArgs e ) : void

Selected selector

drawClearBackground ( ) : void

empty Space-/Moonscape draw

gewichtToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Weight of the space traveler should include / remove the spacecraft weight

pnl_Animation_Paint ( object sender, PaintEventArgs e ) : void

Paint Event

quitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

End the Application

setSpaceman ( int x ) : void

Draw spaceman and spaceship at a certain level on the background

txt_Float_Validating ( object sender, CancelEventArgs e ) : void

Validation of an input floating-point parameter

txt_Int_Validating ( object sender, CancelEventArgs e ) : void

Validation of an input integer parameter

überToolStripMenuItem_Click ( object sender, EventArgs e ) : void

"About"-ViewDialogBox

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

GUI() public method

Constructor - Initialisation of the UI
public GUI ( ) : System
return System

setSpaceship() public method

Spaceship Image on the Background in place at certain level
public setSpaceship ( int height, int thrust ) : void
height int Height of the Spaceship
thrust int Given Thrust
return void