geopro:pedro:starlogo
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
geopro:pedro:starlogo [2007/07/03 04:33] – created 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** |
^**Origin** | ^**Origin** | ||
^**Year** | ^**Year** | ||
- | ^**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 | |
- | + | animations by giving commands to graphic " | |
- | //StarLogo is a specialized version of the Logo programming language. With traditional versions of Logo, you can create drawings and animations by giving commands to graphic " | + | thousands of graphic turtles in parallel. In addition, StarLogo makes the turtles' |
+ | for thousands of " | ||
+ | can program the turtles to " | ||
+ | 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. | ||
Each cell can have as many turtles as possible, but the user cannot visually identify when a cell has more than one turtle. | Each cell can have as many turtles as possible, but the user cannot visually identify when a cell has more than one turtle. | ||
- | The program has turtles and observers. Turtles execute moving commands, change the environment, | + | The tool is limited, therefore we can implement |
- | can, for instance, create turtles. One sign for turtles activates all turtles. | + | They present a couple of models |
- | + | bees making honeycombs, | |
- | The only characteristic the space has is a stamp, represented by a color. | + | \\ |
- | One agent can execute a command to change the color of the cell it belongs using 'stamp yellow', | + | |
- | They present a couple of models, for example sugarscape, bees making honeycombs, a predator-prey system of rabbits and grass, and others. | + | |
{{http:// | {{http:// | ||
Linha 34: | Linha 34: | ||
{{http:// | {{http:// | ||
+ | Each model has turtles and a observer. Conceptually, | ||
+ | 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: | ||
+ | |||
+ | if sick? ;if you're sick, make all the other turtles on your patch sick | ||
+ | [setsick? | ||
+ | make-sick] | ||
+ | |||
+ | One sign for turtles activates all turtles. | ||
+ | For example, in a model of grass and rabbits, all the turtles receive the signs " | ||
+ | check the type of the agent: | ||
+ | |||
+ | {{ http:// | ||
+ | |||
+ | to grow | ||
+ | if species = rabbit [stop] | ||
+ | ; [...] | ||
+ | if pc-ahead = green [stamp green] | ||
+ | end | ||
+ | |||
+ | to move | ||
+ | if species = grass [stop] | ||
+ | rt random 50 | ||
+ | lt random 50 | ||
+ | fd 1 | ||
+ | setenergy energy - 0.25 | ||
+ | ; [...] | ||
+ | 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 | ||
+ | the command " | ||
geopro/pedro/starlogo.1183437190.txt.gz · Última modificação: 2007/07/03 04:33 por pedro