From: Philip Rhoades Date: 2010-10-09T09:03:50+09:00 Subject: Re: A Real World example for Ruby to "compiled" version discussion Joel. On 2010-10-09 09:28, Joel VanderWerf wrote: > On 10/08/2010 06:37 AM, Philip Rhoades wrote: >> This is an Individual Based Model (IBM) as opposed to populations that >> can be modelled as a whole with equations etc - so the simulation >> reflects this. > > Traffic simulation has an analogous distinction: microscopic (traffic as > aggregate behavior of individuals) vs. macroscopic (traffic as wave). Yep, IMBs get used for lots of things. > I keep trying to see how to use narray to express the state of your > model, but the variable length organism list probably prevents that. > Narray would give you so much for free, especially if part of the > timestep transformation is linear (matrix multiplication). But that's > probably simplistic. I was expecting to have to change my ordered lists to one-dimensional ordered arrays anyway . . I will check out narrays . . Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: phil@pricom.com.au