Skip to main content

Optimal Behavior of a Moving Creature in the Cellular Automata Model

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3606))

Abstract

The goal of our investigation is to find automatically the best rule for a cell in the cellular automata model. The cells are either of type Obstacle, Empty or Creature. Only Creature can move around in the cell space and can perform one of the four actions: if the path to the next cell is blocked: turn left or right, if the path is free: move ahead and simultaneously turn left or right. The task of the creature is to cross all empty cells with a minimum number of steps. The behavior was modeled using a variable state machine represented by a state table. Input to the state table is the neighbor’s state in front of its moving direction. The goal is to find the absolutely best rule in the set of all possible rules. The search space grows exponentially with the number of states. As simulation, testing and evaluating the quality are very time consuming in software, the migration of the problem to a parallel hardware platform is a promising solution. In order to reduce the computation time, the search procedure was (1) implemented in hardware and (2) solutions which are equivalent under state permutations were not generated and (3) solutions which show or expect bad or trivial behavior were excluded as soon as possible in a preselection phase. Exactly six different five-state algorithms could be detected, which allow to cross all empty cells for all the given initial configurations. We described this model in Verilog HDL and in AHDL. A hardware synthesizing tool transforms the description into a configuration file which was loaded into a field programmable gate array (FPGA). Hardware implementation offers a significant speed up of many thousands compared to software.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Achasova, S., Bandman, O., Markova, V., Piskunov, S.: Parallel Substitution Algorithm. World Scientific, Singapore (1994);

    Google Scholar 

  2. Dascalu, M., Franti, E., Stefan, G.: Modeling production with artificial societies: the emergence of social structure. In: Cellular Automata Research Towards Industry (1998)

    Google Scholar 

  3. Epstein, J.M., Axtell, R.: Growing artificial societies – social science from the bottom up. Brooking Institution Press, Washington D. C (1996)

    Google Scholar 

  4. Halbach, M., Heenes, W., Hoffmann, R., Tisje, J.: Optimizing the Behavior of a Moving Creature in Software and in Hardware. In: Sloot, P.M.A., Chopard, B., Hoekstra, A.G. (eds.) ACRI 2004. LNCS, vol. 3305, pp. 841–850. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  5. Halbach, M., Hoffmann, R.: Implementing Cellular Automata in FPGA Logic. In: International Parallel & Distributed Processing Symposium (IPDPS), Workshop on Massively Parallel Processing (WMPP), Santa Fe, NM. IEEE Computer Society, Los Alamitos (2004)

    Google Scholar 

  6. Halbach, M., Hoffmann, R., Röder, P.: FPGA Implementation of Cellular Automata Compared to Software Implementation. In: PASA Workshop, ARCS, Augsburg (2004)

    Google Scholar 

  7. Hochberger, C.: CDL - Eine Sprache für die Zellularverarbeitung auf verschiedenen Zielplattformen. PhD thesis, Darmstädter Dissertation D17 (1998)

    Google Scholar 

  8. Hochberger, C., Hoffmann, R., Waldschmidt, S.: CDL++ for the Description of Moving Objects in Cellular Automata. In: Malyshkin, V.E. (ed.) PaCT 1999. LNCS, vol. 1662. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  9. Hoffmann, R., Ulmann, B., Völkmann, K.-P., Waldschmidt, S.: A stream processor architecture based on the configurable CEPRA-S. In: Grünbacher, H., Hartenstein, R.W. (eds.) FPL 2000. LNCS, vol. 1896, p. 822. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  10. Hoffmann, R., Völkmann, K.-P., Waldschmidt, S., Heenes, W.: Global Cellular Automata, A Flexible Parallel Model. In: Malyshkin, V.E. (ed.) PaCT 2001. LNCS, vol. 2127. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  11. Kari, J.: Infinite snake tiling problems. In: Ito, M., Toyama, M. (eds.) DLT 2002. LNCS, vol. 2450, pp. 67–77. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  12. Levy, S.: KL - Künstliches Leben aus dem Computer, Droemer Knaur. Translation from the English, Artificial Life (1992)

    Google Scholar 

  13. Mesot, B., Sanchez, E., Pena, C.A., Perez-Uribe, A.: SOS++: Finding Smart Behaviors Using Learning and Evolution. In: Standish, Abbass, Bedau (eds.) Artificial Life VIII, p. 264 (2002)

    Google Scholar 

  14. Ray, T.: An Approach to the Synthesis of Life. In: Artificial Life II (1991)

    Google Scholar 

  15. Schönhage, A.: Real-time simulation of multidimensional turing machines by storage modification machines. SIAM Journal on Computing 9(3), 490–508 (1980)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Halbach, M., Hoffmann, R. (2005). Optimal Behavior of a Moving Creature in the Cellular Automata Model. In: Malyshkin, V. (eds) Parallel Computing Technologies. PaCT 2005. Lecture Notes in Computer Science, vol 3606. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11535294_11

Download citation

  • DOI: https://doi.org/10.1007/11535294_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28126-9

  • Online ISBN: 978-3-540-31826-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics