gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
300 stars 99 forks source link

The schelling "cellular automata" version does not seem to work anymore. #402

Closed pcaillou closed 9 years ago

pcaillou commented 9 years ago
What steps will reproduce the problem?
1. Go to the schelling folder, in models.
2. Run "segregation_cellular_automata.gaml"
3. Nothing happens on the screen

What is the expected output? What do you see instead?

The expected output would be the "normal" behavior (i.e. grouping of cells with the
same colors). Instead nothing changes. I have verified that it is not a problem of
display by changing randomly the colors of the grid cells — which works (at least,
shows something). 

Original issue reported on code.google.com by alexis.drogoul on 2013-05-12 14:13:05

pcaillou commented 9 years ago
First update : I finally made it working (kind of). The problem was that the definition
of "my_neighbours" (a variable used in the abstract schelling_common model) was considered
by GAML as an action/function and not a variable (it's true that the two syntaxes are
very close .. this may be confusing). However, even if now things are "moving" on the
screen, the model (contrary to the other ones in the folder) does not stabilize, and
I'm curious to see why. However, I have no time to investigate it now so if someone
could take a look… I have committed it already.

Original issue reported on code.google.com by alexis.drogoul on 2013-05-13 04:13:11

pcaillou commented 9 years ago
This issue was closed by revision r6643.

Original issue reported on code.google.com by alexis.drogoul on 2013-05-31 10:49:45