Table of Contents

Class: Automaton cage.py

An automaton joins together the map, the number of possible states (held in the states attribute, a rule for the transition of one cell state to another at a new time step, and manages a (possibly empty) collection of agents that can move around independently of the cellular network.

Methods   
__init__
add
between
remove
running
update
  __init__ 
__init__ ( self,  map )

Exceptions   
NotImplementedError
  add 
add ( self,  agent )

Add an agent.

  between 
between ( self )

Hook to do things between generations.

  remove 
remove ( self,  agent )

Remove an agent.

  running 
running ( self )

Is the automaton still running?

  update 
update ( self )

Update the automaton one time step.


Table of Contents

This document was automatically generated on Sat Jul 29 13:31:37 2006 by HappyDoc version 2.1