I am wondering if anyone has done this before in Metascape. I am hoping for some guidance in how to get two different types of restrictions on the grid to be created using Metascape.
One thing I am unsure of how to do in Metascape is how to create a "room" or an "obstacle" within the grid. For example, there is a room with a door that is the only way in or out of a the room. Or, I have an obstacle, whatever the obstacle is, that I must move around. Agents cannot occupy that set of cells.
Is there a clear way to create either of those scenarios in Metascape, or does this require custom code or rules on the grid?
Thanks for any input anyone can give.
The administrator has disabled public write access.
#57
miles(Admin)
Admin
Posts: 59
Re:Rooms or Obstacles 2008/01/15 15:51
Karma: 1  
This is what the "Spatial: Available" function allows. Assuming you have Grid:Multiple Occupant set to false (default)*, by including the available function in your search query (with neighbor for example, see Random Walk in the Demographic PD model) an agent will not be able to move into an already occupied cell. To take advantage of this, you can create "Barrier" agents or whatever and place them at whatever locations you want to block.
* Ascape only supports Single Occupancy, so you don't have to worry about that one for the Ascape target anyway!
The administrator has disabled public write access.