Clarification:Re: cellular automata and OOP

*To*: mathgroup at smc.vnet.net*Subject*: [mg21735] Clarification:Re: cellular automata and OOP*From*: "Atul Sharma" <atulksharma at yahoo.com>*Date*: Wed, 26 Jan 2000 03:45:36 -0500 (EST)*References*: <86g137$hds@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Sorry, in rereading this, I realize I was not as clear as I might have wished. I meant to say that although there may ultimately be hundreds of individual entities on on a lattice site, there would be only 5-6 different types of entities. Each type may interact with a subset of the remainder. Each time step would involve identifying potential interactions, choosing which ones will occur, and updating all involved entities. This would be followed by updating the internal dynamics and diffusion to adjacent sites for all. A. Sharma Atul Sharma wrote in message <86g137$hds at smc.vnet.net>... >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 > >