neighborsOf

fun neighborsOf(agent: A, radius: Double): List<A>(source)

All agents within radius of agent's position (excluding the agent itself), ordered by distance.