MaDKit forum

Welcome All !
Please, use explicit topic names when creating new threads. Thanks.

You are not logged in.

#1 2011-10-19 13:17:58

Registered: 2011-10-03
Posts: 12

How to get the set of patches in radius k ?


I would like to create a turtle that look for the most promising food spot in its spot radius. I would like to have the same operator than the NetLogo operator "in radius" to do it properly.

Unfortunately, this operator is a turtle operation. Is there another way to access it ? It can be bypassed via "getPatchVariableAt" and rewritting locally the "in radius" method. Is there a way to do it more properly ?


Board footer