geopro:pedro:starlogo
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
geopro:pedro:starlogo [2007/07/07 01:51] – pedro | geopro:pedro:starlogo [2007/07/15 16:23] (atual) – pedro | ||
---|---|---|---|
Linha 2: | Linha 2: | ||
//StarLogo is a programmable modeling environment for exploring the workings of decentralized systems -- systems that are organized without an organizer, coordinated without a coordinator.// | //StarLogo is a programmable modeling environment for exploring the workings of decentralized systems -- systems that are organized without an organizer, coordinated without a coordinator.// | ||
- | |||
\\ | \\ | ||
{{ http:// | {{ http:// | ||
- | |||
^**Homepage** | ^**Homepage** | ||
Linha 13: | Linha 11: | ||
^**Version** | ^**Version** | ||
^**License** | ^**License** | ||
- | ^**Language** | + | ^**Language** |
\\ | \\ | ||
- | //StarLogo is a specialized version of the Logo programming language. With traditional versions of Logo, you can create drawings and | + | StarLogo is a specialized version of the Logo programming language. With traditional versions of Logo, you can create drawings and |
| | ||
thousands of graphic turtles in parallel. In addition, StarLogo makes the turtles' | thousands of graphic turtles in parallel. In addition, StarLogo makes the turtles' | ||
for thousands of " | for thousands of " | ||
can program the turtles to " | can program the turtles to " | ||
- | is particularly well-suited for Artificial Life projects.// | + | is particularly well-suited for Artificial Life projects. |
Presents a simple language and environment for modeling agents in the space. Fixed space and fixed neighbourhood. | Presents a simple language and environment for modeling agents in the space. Fixed space and fixed neighbourhood. | ||
Linha 36: | Linha 34: | ||
{{http:// | {{http:// | ||
- | Each model has turtles and a observer. The observer represents a control entity. It can execute functions like create new turtles or change the color of all of the patches. | + | Each model has turtles and a observer. |
+ | The observer represents a control entity. It can execute functions like create new turtles or change the color of all of the patches. | ||
Turtles execute moving commands, change the environment and other turtles: | Turtles execute moving commands, change the environment and other turtles: | ||
Linha 51: | Linha 50: | ||
to grow | to grow | ||
if species = rabbit [stop] | if species = rabbit [stop] | ||
- | | + | |
- | fd 1 | + | |
if pc-ahead = green [stamp green] | if pc-ahead = green [stamp green] | ||
end | end | ||
Linha 58: | Linha 56: | ||
to move | to move | ||
if species = grass [stop] | if species = grass [stop] | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | setenergy energy - 0.25 |
+ | | ||
end | end | ||
One turtle can execute a command to change the cell it belongs. For example, it can change the color of the cell it belongs using | One turtle can execute a command to change the cell it belongs. For example, it can change the color of the cell it belongs using | ||
the command " | the command " | ||
- | |||
geopro/pedro/starlogo.1183773097.txt.gz · Última modificação: 2007/07/07 01:51 por pedro