📄 276-277.html
字号:
<HTML>
<HEAD>
<META name=vsisbn content="0849398010">
<META name=vstitle content="Industrial Applications of Genetic Algorithms">
<META name=vsauthor content="Charles Karr; L. Michael Freeman">
<META name=vsimprint content="CRC Press">
<META name=vspublisher content="CRC Press LLC">
<META name=vspubdate content="12/01/98">
<META name=vscategory content="Web and Software Development: Artificial Intelligence: Other">
<TITLE>Industrial Applications of Genetic Algorithms:Development of Mobile Robot Wall-following Algorithms Using Genetic Programming</TITLE>
<!-- HEADER -->
<STYLE type="text/css">
<!--
A:hover {
color : Red;
}
-->
</STYLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<!--ISBN=0849398010//-->
<!--TITLE=Industrial Applications of Genetic Algorithms//-->
<!--AUTHOR=Charles Karr//-->
<!--AUTHOR=L. Michael Freeman//-->
<!--PUBLISHER=CRC Press LLC//-->
<!--IMPRINT=CRC Press//-->
<!--CHAPTER=14//-->
<!--PAGES=276-277//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="271-275.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="277-280.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>GENETIC PROGRAMMING ENVIRONMENT</B></FONT></P>
<P>As described above, genetic programming solves problems by combining and organizing a predefined set of functions and terminals. This set of functions and terminals provide the fundamental domain knowledge which allows GP to discover solutions. The functions and terminals defined for the wall-following experiments presented herein are defined below.
</P>
<DL>
<DT><B><I>Do2 (Arga, Argb)</I>
</B>
<DD>This function provides for sequential operations. It evaluates argument Arga, then it evaluates argument Argb. The return value is the result of argument Argb. Multiple sequential steps can be accomplished by nested Do2’s.
<DT><B><I>WhileInCoridorRange (Arga)</I>
</B>
<DD>This function checks each of the sensor distance values, selects the minimum value (i.e., the closest wall) and determines if it is within the allowable wall-following range. If the robot is out of range of a wall, this function returns the value 0.0. Otherwise, it evaluates argument Arga continuously (as long as the robot is within acceptable range of the nearest wall) and returns the value obtained from the last evaluation of argument Arga. The range of values that satisfies the “InCorridorRange” condition is defined as 10 to 20 units, inclusive.
<DT><B><I>WhileTooCloseToWall (Arga)</I>
</B>
<DD>This function is identical to WhileInCoridorRange except that it evaluates the argument as long as the robot is too close to a wall. The range of values that satisfy this function is less than 12 units. 12 is used rather than 10 to provide a hysteresis band between the in and out of range conditions.
<DT><B><I>WhileTooFarFromWall (Arga)</I>
</B>
<DD>This function is also identical to WhileInCoridorRange except that it evaluates the argument as long as the robot is too far away from the closest wall. The range of values that satisfy this function is greater than 18 units.
<DT><B><I>IfConvexCorner (Arga, Argb)</I>
</B>
<DD>This function tests for the condition of the range sensor at angle 90° reading too far to the nearest wall, and the range sensor at angle 135° reading an acceptable distance. This condition occurs when the robot is following a wall that drops away in a convex corner. If this condition is satisfied, the function evaluates argument Arga and returns its value. Otherwise, it evaluates argument Argb and returns its value.
<DT><B><I>MoveForward()</I>
</B>
<DD>This terminal causes the robot to move forward five units. The return value is 1.0 if the robot completes its move without colliding with a wall, and 0.0 if a collision occurs. If the robot collides with a wall, movement stops at that point (i.e., the robot is not allowed to move into or through the walls). These return values are arbitrary and were selected to coincide with the C/C++ integral values used to represent Boolean true and false.
<DT><B><I>TurnRight(), TurnLeft()</I>
</B>
<DD>These terminals cause the robot to rotate 45° to the right or left, respectively. The return value from these terminals is the angle that the robot ends up facing after the rotation.
<DT><B><I>TurnTowardsClosestWall()</I>
</B>
<DD>This terminal checks each of the current range sensor values and selects the lowest value (i.e., the closest wall). It then rotates the robot such that the robot is pointed in the direction of the sensor that had the lowest reading. Note that the robot turns towards the perceived closest wall, and not necessarily towards the actual closest wall. The return value is the new direction of the robot.
<DT><B><I>TurnAwayFromClosestWall()</I>
</B>
<DD>This terminal is similar to TurnTowardsClosestWall, except that the robot rotates to face the opposite direction of the perceived closest wall.
<DT><B><I>TurnParallelToClosestWall()</I>
</B>
<DD>This terminal is also similar to TurnTowardsClosestWall, except that the robot rotates such that its 90° sensor is pointed in the direction of the perceived closest wall.
</DL>
<P>Population size was set to 500 individuals, and experiments typically ran for 200 to 300 generations. The probability values for reproduction, crossover, and mutation were set to 39%, 60% and 1%, respectively, for all experiments. All experiments invoked an option to force the best performing individual to reproduce at least once into the next generation. All experiments were performed on Pentium-100 PC’s.
</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="271-275.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="277-280.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<hr width="90%" size="1" noshade>
<div align="center">
<font face="Verdana,sans-serif" size="1">Copyright © <a href="/reference/crc00001.html">CRC Press LLC</a></font>
</div>
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->
</BODY>
</HTML>
<!-- END FOOTER -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -