Nearest Within Steps With =/es: Difference between revisions
(Updating to match new version of source page) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
[[Category:Detección]] | [[Category:Detección]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
<section begin=image/>[[File: | <section begin=image/>[[File:Máscercanodentrodepasoscon=.png|alt=Nearest within steps with =|thumb]]<section end=image/> | ||
<section begin="name" />'''<code> | <section begin="name" />'''<code> [▼] más cerca a distancia [_] pasos con [▼] = [_]</code>'''<section end="name" /> es un [[Special:MyLanguage/code block|bloque de código]] parte de [[Special:MyLanguage/Detection|Detección]] cajón. | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<section begin="name" />'''<code>nearest [▼] within [_] steps with [▼] = [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Detection]] drawer. | |||
</div> | |||
== Uso == | == Uso == | ||
Line 10: | Line 14: | ||
<span id="Syntax"></span> | <span id="Syntax"></span> | ||
=== | ==Sintaxis== | ||
[[File:Nearest Within Steps With Eq Es.png|right|alt=The Create Each Do Block|thumb]] | |||
Entradas: | |||
#una raza del primer menú desplegable | |||
#un número | |||
<!-- <code> Mas cercano [Dropdown: Type of Agent](s) dentro de [Textbox: Number] pasos con [Dropdown: Type of Trait](s) = [Textbox: Text]</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_with_example.gif|alt=Nearest Within Steps With = example gif|thumb]] | |||
[[File:nearest_within_steps_with_example.png|alt=Nearest Within Steps With = example code|thumb]] | |||
</div> | |||
< | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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. | |||
</div> | |||
<span id="Common_Uses"></span> | <span id="Common_Uses"></span> |
Latest revision as of 19:53, 12 August 2023
[▼] 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