MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

cellular automata and OOP

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21716] cellular automata and OOP
  • From: "Atul Sharma" <atulksharma at yahoo.com>
  • Date: Sun, 23 Jan 2000 17:58:00 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I would like to set up a cellular automata, but one that differs somewhat
from the standard described (for example) in the useful books by Gaylord et
al. The main difference is that multiple entities can coexist on the same
lattice sites, with interactions permitted only between entities on the same
sites. Ultimately, this may involve hundreds of entities on a given lattice
site, with 5-6 different entities permitted, each interacting with only a
subset of the remainder and each free to diffuse at each time step. In
addition, some of the entities will have internal dynamics requiring updates
at each time step.

My question is this:

What is the most efficient approach to implementing such a project in Mathematica.
My initial though was to set up OOP code as described by Maeder in the
Mathematica Programmer, with a constructor that assigns properties
(including lattice position) to each entity. Interactions would be handled
as events, with updates signalled by the 'time step' event.

I have little experience in this area, and this may well be the most
inefficient design imaginable:) Any suggestions or examples would be
appreciated.

Thanks.

A. Sharma

--------------------------------------------------
Atul Sharma MD, FRCP(C)
Pediatric Nephrologist,
McGill University/Montreal Children's Hospital



  • Prev by Date: Re: Cursor bug in mathematica 3
  • Next by Date: Re: DSolve problems with system of ODEs. Out in pure notation?
  • Previous by thread: Re: Cursor bug in mathematica 3
  • Next by thread: Re: cellular automata and OOP