C# 클래스 SharpNeatGUI.GenomeForm

파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
GenomeForm ( string title, AbstractGenomeView genomeViewControl, AbstractGenerationalAlgorithm ea ) : System

Construct with the provided form title, genome view/renderer and evolution algorithm. We listen to update events from the evolution algorithm and cleanly detach from it when this form closes.

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.

RefreshView ( ) : void

Refresh view.

_ea_UpdateEvent ( object sender, EventArgs e ) : void

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

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
GenomeForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
InitializeComponent ( ) : void

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

메소드 상세

Dispose() 보호된 메소드

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

GenomeForm() 공개 메소드

Construct with the provided form title, genome view/renderer and evolution algorithm. We listen to update events from the evolution algorithm and cleanly detach from it when this form closes.
public GenomeForm ( string title, AbstractGenomeView genomeViewControl, AbstractGenerationalAlgorithm ea ) : System
title string
genomeViewControl AbstractGenomeView
ea AbstractGenerationalAlgorithm
리턴 System

Reconnect() 공개 메소드

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
리턴 void

RefreshView() 공개 메소드

Refresh view.
public RefreshView ( ) : void
리턴 void

_ea_UpdateEvent() 공개 메소드

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