MASON-INTEREST-L Archives

April 2022

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:
Date:
Tue, 5 Apr 2022 08:56:47 +0000
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1430 bytes) , text/html (2132 bytes)
Dear MASON community,

I'm a contributor of Mesa, an ABM library for Python. Recently, there had been a request to make it possible to specify walls in our grid space

> Is there any way to prevent certain agents from being redrawn each tick on the CanvasGrid? I have e.g. wall and furniture agents in the model. Not redrawing these each tick would cause the simulation to appear much smoother.

>

(seehttps://secure-web.cisco.com/1hTp4RSYtgVLGUP9uzVxLPobCZJKtKF4TNTZkf3nSFPm-T3hctJJmcbM5KcpUb2l4OeNZ_PWkPqwgc81LA6P_Eg-0Rhezbno73WM8DxUmYpR5HgcHq8zaX-8_0nGwW7SYeJIoKD5fqa6zfdnRTxT1OYeO8SBQYyhGp84wwHhUWgqjPQU7m3f0eQqxZtKNOWIqUFh5NpXxHt-Ir0LvYYibBqrWB0P3kErWn4WxrQrUXySKOouuC4WmRyJDDF-8XX64OHlYQxKla1VoD81Me5D2dtle1GM5G62EpsDS-IOiOak_hAtX7KW0qTTibOPjvT983q8iFiKTtOL7QWhSaT82vLeVjIkLl9t-nacrbdq6ZLfR9_Y_eTn1DOCd5mpx4QW68fGCE1iUubkBIqubdnTBpFQ0rYpKSxlvaL8nt_muCUShqHvKPYKuVlIz8-nxSnCgCcipHK5Mu8o9nkRyy9Bn9Q/https%3A%2F%2Fgithub.com%2Fprojectmesa%2Fmesa%2Fissues%2F1234).
We were trying to learn from the existing implementation in MASON, but we were not sure about how it is done in MASON.

Is it correct that the way it is done in MASON is by specifying a separate Field that is immutable, which contains the walls, which is rendered once for all? And then you have another Field where the agents dynamics takes place. If this is wrong, what is your recommendation for implementing such feature?

Thank you in advance.

Cheers,

rht

ATOM RSS1 RSS2