How can I use different patch “neighborhoods” (circular, Von Neumann, Moore, etc.)?
The in-radius primitives lets you access circular neighborhoods of any radius. The neighbors primitive gives you a Moore neighborhood of radius 1, and the neighbors4 primitive gives you a Von Neumann neighborhood of radius 1. If you want a Moore or Von Neumann neighborhood of a different radius, or a different kind of neighborhood altogether, you can define it yourself, using the at-points primitive and/or other techniques. If the neighborhoods do not change over time, then the most efficient way to use them is to compute the neighborhoods only once, ahead of time, and store them in agentsets. See this URL for a discussion and example code: http://groups.yahoo.com/group/netlogo-users/message/377.