⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gui.htm

📁 遗传算法GPE_release_v1.0.tar
💻 HTM
字号:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Genetic Programming FAQ</title>
</head>

<body>

<div id="nsbanner">
  <table cellSpacing="0" cellPadding="0" width="100%" border="0">
    <tr>
      <td>
      <div id="bannerrow1">
        <table class="bannerparthead" cellSpacing="0">
          <tr id="hdr">
            <td class="runninghead" style="font-size: 70%">
            <font face="Arial"><a class="show" id="design_toggle" title="Show or hide design notes" href="index.html"><img src="Images/Icons/G.png" width="14" height="14" border="0" align="middle"/></a> Genetic Programming Engine FAQ</font></td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1" style="font-size: 85%; left: 5px; position: relative">
        <font face="Arial">Running the Engine with the GUI</font></h1>
      </div>
      </td>
      <td vAlign="top" align="right">
      <font face="Arial">
      <img src="Images/Icons/GP_blue.png" width="191" height="39"></font></td>
    </tr>
  </table>
</div>
<div id="nstext">
  <div align="center">
	<table border="0" width="90%" id="table1" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td><font face="Arial">The Graphical User Interface (GUI) is one way 
			to interact with the <b>GPEngine</b>.&nbsp; There are four main panels.&nbsp; The 
			engine controls are in the upper left corner of the screen; the 
			engine status is in the upper right; the statistics are on the lower 
			left; and the <b>IGraphicHistory</b> and code of the best <b>
            IIndividual</b> are 
			in the lower right.&nbsp; Click on the engine status panel in 
            Figures 1, 3, and 5 to see the entire panel.</font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
            <p style="margin-top: 0; margin-bottom: 0"><font face="Arial">When EngineGUI.exe, 
            the main program, is first executed, the 
			the Artificial Ant sample problem is the default problem (see <i>Figure 1</i> below).&nbsp; 
			It is possible to run the engine using the default values outlined 
			below.&nbsp; The engine controls are made up of several buttons and 
			settings.&nbsp; They function as follows:</font></p>
            <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <div align="center">
              <center>
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber1">
                <tr>
                  <td width="100%"><p style="margin-top: 0; margin-bottom: 0">
			<font face="Arial"><i>Run/Continue</i> - If at generation 0, this 
            button tells the engine to begin execution 
			on the selected IIndividual class, <b>IEnvironment</b>, and <b>environment 
			initialization file</b>. &nbsp;Run is further explained in the 
            GPEngine class.&nbsp; &quot;Engine is 
			running&quot; will be displayed in the status panel (see <i>Figure 3</i>) 
            when the engine is executing.&nbsp; If the engine is paused, it may 
            be resumed by clicking Continue (see Figure 2).</font></p>
			<p><font face="Arial"><i>Pause</i> - Temporarily suspends execution 
			of engine.&nbsp; &quot;Engine is interrupted&quot; will be displayed in the 
			status panel (see <i>Figure 2</i>).&nbsp; To resume execution, click 
            the Run/Continue button.</font></p>
			<p><font face="Arial"><i>Reset</i> - Reinitializes the engine with 
			the selected IIndividual class, IEnvironment, and environment 
			initialization file.&nbsp; &quot;Engine is stopped&quot; will be displayed in 
			the status panel (see <i>Figure 2</i>).&nbsp; When Run is clicked 
			 
			, the GPEngine will begin a new execution starting at generation 0.</font></p>
			<p><font face="Arial"><i>Engine Options</i> - Allows users to set 
            variables through the <b>EngineOptions</b> class to control the 
            GPEngine's performance.</font></p>
			<p><font face="Arial"><i>Individual Class</i> - Allows for the 
			selection of different IIndividual classes to define the IIndividual 
			for the problem.</font></p>
			<p><font face="Arial"><i>Environment Class</i> - Allows for the 
			selection of different IEnvironment classes to define the 
            IEnvironment 
			for the problem.</font></p>
			<p><font face="Arial"><i>Environment Initialization File</i> - 
			Allows for the selection of different environment initialization 
			files to set up the IEnvironment for the problem.</font></p>
			      </td>
                </tr>
              </table>
              </center>
            </div>
			<p><font face="Arial">The status panel displays the status of the 
			GPEngine; the number of the current generation; the best and worst 
			IIndividual of the current generation; the selected <b>IPrecodeTree</b>, 
			IIndividual, and IEnvironment classes; and the EngineOptions that 
			were selected.&nbsp; See <i>Figures 1-5</i> below to see how the 
            status changes throughout execution.&nbsp; </font></p>
			<p><font face="Arial">The statistical panel provides a graph of 
			fitness over time.&nbsp; The <i>Best, Average, and Worst Fitness</i> 
            graph is on top.&nbsp; The Y-axis represents fitness and the 
			X-axis represents the generations.&nbsp; The green line represents the best 
            IIndividuals (as measured by fitness) over time; the red line 
            represents the 
			average fitness over time; and the black line represents the worst 
			IIndividuals over time.&nbsp; See <i>Figures 1-5</i> below to see how 
			the graph changes during engine execution.&nbsp; The <i>Fitness 
            Histogram</i> shows how the fitness values for the individuals in 
            the current generation are distributed. The horizontal axis 
            represents different fitness ranges and the vertical axis represents 
            the total number of individuals represented (the population size).</font></p>
			<p><font face="Arial">The lower right panel allows two different 
			views.&nbsp; The &quot;History of Best Individual&quot; tab shows the 
            IGraphicHistory 
			of the best IIndividual in the current generation.&nbsp; This 
			displays, one frame at a time, the actions the IIndividual undertook during testing  .&nbsp; The &quot;Code of Best Individual&quot; tab displays 
			the <b>C# code</b> generated for the best IIndividual in the current 
            generation.&nbsp; </font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<p align="center">
			<font face="Arial">
			<map name="FPMap0">
            <area target="_blank" coords="364, 34, 725, 219" shape="rect" href="Images/GUI/GUI-EngineStatus1.jpg">
            </map>
			<img border="0" src="Images/GUI/GUI-InitialGUI.jpg" width="734" height="567" usemap="#FPMap0"></font></td>
		</tr>
		<tr>
			<td>
			<p align="center"><font face="Arial"><b>Figure 1. </b><i>Initial GUI state</i></font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<p align="center">
			<font face="Arial">
			<img border="0" src="Images/GUI/GUI-EngineRun1.jpg" width="731" height="568"></font></td>
		</tr>
		<tr>
			<td>
			<p align="center"><font face="Arial"><b>Figure 2. </b><i>GUI at generation 6</i></font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<p align="center">
			<font face="Arial">
			<map name="FPMap1">
            <area target="_blank" coords="358, 32, 727, 216" shape="rect" href="Images/GUI/GUI-EngineStatus2.jpg">
            </map>
			<img border="0" src="Images/GUI/GUI-EngineRun2.jpg" usemap="#FPMap1" width="735" height="569"></font></td>
		</tr>
		<tr>
			<td>
			<p align="center"><font face="Arial"><b>Figure 3. </b><i>GUI at generation 16</i></font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<p align="center">
			<font face="Arial">
			<img border="0" src="Images/GUI/GUI-EngineRun3.jpg" width="735" height="569"></font></td>
		</tr>
		<tr>
			<td>
			<p align="center"><font face="Arial"><b>Figure 4. </b><i>GUI at generation 30</i></font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>
			<p align="center">
			<font face="Arial">
			<map name="FPMap2">
            <area target="_blank" href="Images/GUI/GUI-EngineStatus3.jpg" shape="rect" coords="378, 34, 771, 221">
            </map>
			<img border="0" src="Images/GUI/GUI-EngineRun4.jpg" width="772" height="575" usemap="#FPMap2"></font></td>
		</tr>
		<tr>
			<td>
			<p align="center"><font face="Arial"><b>Figure 5. </b><i>GUI at generation 99 
            (finished)</i></font></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
	</table>
	</div>
	<h4 class="dtH4"><font face="Arial">See Also</font></h4>
  <p>
  <font face="Arial"><a href="SampleCode.htm">C# Sample Code</a> |
  <a href="GeneticProgrammingEngine/GPE.htm">GPEngine</a> |
  <a href="GeneticProgrammingEngine/Internal/EngineOptions.htm">EngineOptions</a> 
  | <a href="GeneticProgrammingEngine/ProblemSpace/InitializationFile.htm">
  Environment Initialization File</a> |
  <a href="GeneticProgrammingEngine/ProblemSpace/History.htm">IGraphicHistory</a> 
  | <a href="GeneticProgrammingEngine/ProblemSpace/Environment.htm">IEnvironment</a> 
  | <a href="GeneticProgrammingEngine/ProblemSpace/Individual.htm">IIndividual</a></font></p>
  <hr>
  <div id="footer">
    <font face="Arial">
    <a href="http://www.opensource.org/" target="_top">
    <img style="padding-bottom: 5px" src="http://opensource.org/trademarks/open_source_button.png" align="left" border="0"></a> 
    This software licensed under the
    <a href="http://opensource.org/licenses/afl-2.1.php" target="_top">Academic 
    Free License version 2.1</a>. (<a href="afl-2.1.txt">Plain 
    text</a>)</font></div>
</div>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -