Base container type that stores data to find the neighbors of an agent.
Base container type that stores data to find the neighbors of an agent.
Returns a number of neighbors based on a `callback` function.
_find_neighbors calls callback for each agent in the agents array and adds one to the count if its callback returns true.
Returns a number of neighbors based on a `callback` function.
_find_neighbors calls callback for each agent in the agents array and adds one to the count if its callback returns true.
The owning agent whose neighbors are found in the group
The agents who are part of this group and could be potential neighbors