OK. Great. Thanks, Ernest
----- Original Message -----
From: Seth Tisue <seth@...>
Date: Monday, March 31, 2008 9:26 pm
Subject: Re: [netlogo-users] Neighborhoods - 2 Quick Questions about Agentsets
> >>>>> "Ernest" == Ernest J Sergenti <ejs210@...> writes:
> Ernest> Hi, 1. Is there a way to have a patch reference a *square*
> Ernest> neighborhood around itself of all patches within a certain
> Ernest> distance? So say I'd like to select my neighbors and my
> Ernest> neighbors' neighbors, and so on. Sort of like the "neighbors"
> Ernest> command, but with an extra box or extra boxes around that.
> see Moore & Von Neumann Example, under Code Examples
> Ernest> 2. Somewhat related, is there a way to create an "agentset"
> Ernest> patches from scratch?
> Ernest> Is there a way to create an agentset of patches (and add to
> Ernest> existing agentset of patches)?
> see http://ccl.northwestern.edu/netlogo/docs/programming.html#agentsets
> agentsets are immutable (they can't be changed once made, except when
> agent dies), but you can make new ones based on old ones.
> Seth Tisue / http://tisue.net
> lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/