|
From: | Steve Railsback |
Subject: | Re: [Swarm-Support] Multiple Agents in One Cell |
Date: | Thu, 25 Aug 2005 08:24:02 -0700 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Crile Doscher wrote:
Hi there SwarmList,
...
So, have I been sloppy in creating my lists? My gut feeling is that my cells should be able to hold both elevations and lists and I simply haven't implemented this well. Could the order in which the list is added and elevation values read in be causing a problem? Any thoughts?
Crile: I think you will have to post your cell code and the methods that call it for anyone to help.
Also: Remember that you can use two separate space objects. If your Discrete2D holding elevations works already, you could just leave it alone and create a separate MultiGrid2d to keep the agents. The agents would then look in the elevation space to get their elevation.
Steve R. -- Lang Railsback & Assoc. 250 California Ave. Arcata, California 95521 (707) 822-0453
[Prev in Thread] | Current Thread | [Next in Thread] |