Más cerca a distancia pasos con =
[▼] más cerca a distancia [_] pasos con [▼] = [_]
es un bloque de código parte de Detección cajón.
nearest [▼] within [_] steps with [▼] = [_]
is a code block part of the Detection drawer.
Uso
contra [▼] en [_] pasos
se utiliza para proporcionar el número de agentes de una raza seleccionada que existen dentro de un determinado step límite en Spaceland.
Sintaxis
Entradas:
- una raza del primer menú desplegable
- un número
Example
This is a model of a grazing herd of hungry elephants. In this model, there are two species of grass (blue and red). The elephants prefer blue glass but do not mind red grass. Because the elephants want to eat as much bue grass as possible, they walk toward the blue grass that is closest to them within their sensing radius (while eating red grass if they happen across it on the way). Toward the end of the simulation, you can observe that there is plenty of leftover red grass.
Usos comunes