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:42] – pedro | geopro:pedro:starlogo [2007/07/15 16:23] (atual) – pedro | ||
|---|---|---|---|
| Linha 3: | Linha 3: | ||
| //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 12: | 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 29: | Linha 28: | ||
| They present a couple of models together with the program, for example sugarscape (shown in the figure below), | They present a couple of models together with the program, for example sugarscape (shown in the figure below), | ||
| bees making honeycombs, and a predator-prey system of rabbits and grass. | bees making honeycombs, and a predator-prey system of rabbits and grass. | ||
| + | \\ | ||
| {{http:// | {{http:// | ||
| Linha 34: | Linha 34: | ||
| {{http:// | {{http:// | ||
| - | + | Each model has turtles and a observer. | |
| - | The program | + | 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 50: | 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 57: | 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.1183772574.txt.gz · Última modificação: 2007/07/07 01:42 por pedro
