Nearest Within Steps/es: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:


<!-- <code>[Dropdown: Type of Agent](s) más cerca a distancia [Textbox: Number] pasos</code> -->
<!-- <code>[Dropdown: Type of Agent](s) más cerca a distancia [Textbox: Number] pasos</code> -->
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:nearest_within_steps_example.gif|alt=Nearest Within Steps example gif|thumb]]
[[File:face_towards_example.png|alt=Nearest Within Steps example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This is a model of a grazing herd of elephants.  Because the elephants want to acquire the most food possible, they walk toward the grass that is closest to them within their sensing radius (30 steps).
</div>


<span id="Common_Uses"></span>
<span id="Common_Uses"></span>

Latest revision as of 15:38, 16 August 2023

Other languages:
The Más cercano dentro de pasos

Más cercano [▼] dentro [_] de pasos es un bloque de código parte de Detección cajón.

nearest [▼] within [_] steps is a code block part of the Detection drawer.

Uso

Más cercano [▼] dentro [_] de pasos se utiliza para proporcionar el número de agentes de una raza seleccionada que existen dentro de un determinado paso límite en Spaceland.

Sintaxis

The Create Each Do Block

Entradas en este bloque:

  1. una raza del menú desplegable
  2. un número


Example

Nearest Within Steps example gif
Nearest Within Steps example code

This is a model of a grazing herd of elephants. Because the elephants want to acquire the most food possible, they walk toward the grass that is closest to them within their sensing radius (30 steps).

Usos Comunes

Para tener en cuenta

Bloques relacionados