Loading ...
Sorry, an error occurred while loading the content.
 

Re: [netlogo-users] Neighborhoods - 2 Quick Questions about Agentsets

Expand Messages
  • Ernest J Sergenti
    Hi Seth, OK. Great. Thanks, Ernest ... From: Seth Tisue Date: Monday, March 31, 2008 9:26 pm Subject: Re: [netlogo-users] Neighborhoods - 2
    Message 1 of 5 , Mar 31, 2008
      Hi Seth,

      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
      To: netlogo-users@yahoogroups.com


      > >>>>> "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"
      > of
      > Ernest> patches from scratch?
      >
      > Ernest> Is there a way to create an agentset of patches (and add to
      > an
      > 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
      > an
      > 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/
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.