MASON-INTEREST-L Archives

May 2006

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 2 May 2006 01:08:20 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
I figured a different way by adding a field in the current agent to save 
the last state then hide it by giving it a new state of EMPTY -- and then 
storing that new state (EMPTY) on the (schelling)state location of the 
agent.  It also allows me to simulate death of that agent if another agent 
moved into that cell.

New question: I've got to access the grid created in Schelling after 
createGrids().  I tried to access it through neighbors but got an empty 
grid in the new function I created to access the grid.  How would I access 
the grid created by createGrids()?

Moses

ATOM RSS1 RSS2