Abstract
Genetic algorithms are often presented as a way to solve a difficult algorithmic problem. This chapter applies a genetic algorithm to help a small robot find an exit. It formulates a simple situation (a robot looking for the exit) as an optimization problem (minimizing the distance between the robot and the exit). This chapter builds a small robot that lives in a randomly generated maze. The robot’s objective is to exit the maze.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Alexandre Bergel​
About this chapter
Cite this chapter
Bergel, A. (2020). Exiting a Maze. In: Agile Artificial Intelligence in Pharo. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5384-7_11
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5384-7_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5383-0
Online ISBN: 978-1-4842-5384-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books