C# 클래스 SwarmNLP.MainForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: swax/SwarmNLP 1 사용 예제들

공개 메소드들

메소드 설명
MainForm ( ) : System

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
AddBug ( ) : void
BitmapToGraph ( float bmpX, float bmpY, float best, float mins, float maxs ) : float[]
CompileConstraint ( string constraint, int dims ) : MethodResults
CompileConstraints ( List constraints, int dims ) : MethodResults
CompileFunction ( string code, int dims ) : MethodResults
CompileProblem ( ) : void
FillCode ( string code, int dims ) : string
GenerateBackground ( ) : void

An intense function because it runs the objective function for every pixel That's why it's not done often, and in a different thread

GraphtoWindow ( float graph ) : Point
InitializeComponent ( ) : void

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

IsFeasible ( float x, float v ) : bool
MainDisplay_MouseMove ( object sender, MouseEventArgs e ) : void
MainDisplay_Paint ( object sender, PaintEventArgs e ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MainForm_Resize ( object sender, EventArgs e ) : void
NonDominatesPoint ( float test, float best ) : bool
NonDominatesSet ( float testCoord, float testValue ) : bool
ObjCombo_SelectedIndexChanged ( object sender, EventArgs e ) : void
OpenButton_Click ( object sender, EventArgs e ) : void
PlayButton_Click ( object sender, EventArgs e ) : void
ProblemButton_Click ( object sender, EventArgs e ) : void
RefreshAxisCombos ( ) : void
ResetDimensions ( int objectives ) : void
ResetVect ( float &vect, int dims, int defaultVal ) : void
RunSwarm ( ) : void
SaveButton_Click ( object sender, EventArgs e ) : void
StatusBarUpdate ( ) : void
StepButton_Click ( object sender, EventArgs e ) : void
StopButton_Click ( object sender, EventArgs e ) : void
SwarmButton_Click ( object sender, EventArgs e ) : void
TryGetFeasible ( float pos ) : bool
WindowButton_Click ( object sender, EventArgs e ) : void
xAxisCombo_SelectedIndexChanged ( object sender, EventArgs e ) : void
yAxisCombo_SelectedIndexChanged ( 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() 공개 메소드

public MainForm ( ) : System
리턴 System