📄 enginegui.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>The Graphical Interface</title>
<link rel="shortcut icon" href="ReadmeResources/favicon.ico" type="image/x-icon">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
background-image: url(Images/GUI/GP.png);
background-position: top right;
background-repeat: no-repeat;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
-->
</style></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">Getting Started with the Graphical Interface </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>
<p>Click on a section to learn more about it:</p>
<p><img src="Images/GUI/GUI_small.png" width="309" height="239" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="-10,-1,152,94" href="#Controls">
<area shape="rect" coords="151,-15,312,94" href="#Status">
<area shape="rect" coords="-10,93,152,278" href="#Statistics">
<area shape="rect" coords="151,93,337,256" href="#Graphics">
</map>
</p>
<p> </p>
<h2><a name="Controls"></a>Controls Panel</h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p><img src="Images/GUI/GUI_controls.png" width="362" height="205" hspace="5" align="left">This panel controls the engine and its settings.</p>
<p><em>Run/Continue</em> - Starts a new run of the engine using the specified Problem and options, or restartes a paused run using the previous Problem.</p>
<p><em>Pause</em> - Interrupts a run of the engine. </p>
<p><em>Reset</em> - Clears the state of the engine, allowing you to select a new Problem. </p>
<p><em>Engine Options</em> - Brings up a dialog allowing you to change how the engine runs. </p>
<p><em>Select a problem</em> panel:</p>
<p><em>Individual Class</em> - Sets the Individual used by the engine. Currently, there are two Individual available: <em>AntIndividual</em> and <em>GapAntIndividual</em>. See <em><a href="../README.htm#2_3">The Artificial Ant Problem</a></em> section on the <a href="../README.htm">Main Page</a> for more information. </p>
<p><em>Environment Class</em> - Sets the Environment used by the engine. Currently, there is only one Environment available: <em>AntEnvironment</em>. </p>
<p><em>Environment Initialization File</em> - Sets the map file used to initialize the Environment. Currently, there are three choices available, described in more detail below. You can also use the folder button to the right to select an initialization file. </p>
<p><em>Fitness Goal</em> - If checked, sets the target fitness value for the specified environment. Once reached, the graphical interface will automatically pause the engine.</p>
<table width="100%" border="1" cellspacing="0" cellpadding="2">
<tr bgcolor="#CCCCCC">
<td width="142"><em>Name</em></td>
<td width="155"><em>File</em></td>
<td width="100"><em>Fitness Goal </em></td>
<td><em>Description</em></td>
</tr>
<tr>
<td width="142">Santa Fe Trail </td>
<td width="155">SantaFeTrail.xml</td>
<td width="100">89</td>
<td>A short trail with small gaps. </td>
</tr>
<tr>
<td width="142">Los Altos Hills Trail </td>
<td width="155">LosAltosHillsTrail.xml</td>
<td width="100">157</td>
<td>A longer trail with more complicated gaps. </td>
</tr>
<tr>
<td width="142">Three Clumps </td>
<td width="155">ThreeClumps.xml</td>
<td width="100">48</td>
<td>A difficult map with three separate patches of food, none within the direct path of the ant. </td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
<h2><a name="Status" id="Status"></a>Status Panel</h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p><img src="Images/GUI/GUI_status.png" width="384" height="205" hspace="5" align="left">This panel displays information about:</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><ul>
<li>the current state of the engine</li>
<li>the state of the last generation tested</li>
<li>the problem being tested</li>
<li>the current <em>Engine Options</em> settings </li>
</ul></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<p> </p>
<h2><a name="Statistics" id="Statistics"></a>Statistics Panel</h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p><img src="Images/GUI/GUI_statistics.png" width="370" height="347" hspace="5" align="left">This panel contains displays showing information about the progress of a run.<br>
</p>
<p><em>Best, Average, and Worst Fitness</em> - Shows the fitness trends of all tested generations. </p>
<p>The horizontal axis represents the tested generations and the vertical axis represents the fitness of those generations. If the <em>Fitness Goal</em> is set, the vertical access will be scaled appropriately. </p>
<p>Green represents the fitness of the best individual from a generation, red the average fitness of a generation, and grey the fitness of the worst individual from a generation. <br>
</p>
<p><em>Fitness Histogram</em> - Shows how the fitness values for the individuals in the current generation are distributed. </p>
<p>The horizontal axis represents different fitness ranges and the vertical axis represents the total number of individuals represented (the population size).</p>
<p>The text in the lower-right provides information on the representation. It has the following format: [the number of bars (equal to the <em>Fitness Goal</em>, if set)] / [the amount represented by the width of each bar]; [lowest value shown] - [highest value shown] </p></td>
</tr>
</table>
<p> </p>
<h2><a name="Graphics" id="Graphics"></a>Graphics Panel</h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p><img src="Images/GUI/GUI_graphics.png" width="375" height="347" hspace="5" align="left">This panel displays information about the best individual from the current generation.<br>
</p>
<p><em>History of Best Individual </em> - Shows the actions taken by the individual with the best fitness from the current generation. </p>
<p>Use the <em>Pause Between Frames</em> control to speed up or slow down the rate at which frames are drawn. A larger value will mean a longer time between updates. <br>
</p>
<p><em>Code of Best Individual</em> - Shows the source code of the individual with the best fitness from the current generation.</p>
</td>
</tr>
</table>
<div id="nstext">
<h4 class="dtH4"><font face="Arial">See Also</font></h4>
<p align="left">
<font face="Arial"><a href="GettingStarted.htm">Getting Started</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" width="88" height="31"></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>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -