Skip to content

Commit

Permalink
Sugarscape Model implemented. Close #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-andrade-inpe committed Sep 9, 2015
1 parent 948732c commit 04ac4b5
Show file tree
Hide file tree
Showing 14 changed files with 380 additions and 2 deletions.
12 changes: 12 additions & 0 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ data{
source = "TerraME team"
}

data{
file = "default.sugar",
summary = "The traditional sugarscape.",
source = "TerraME team"
}

data{
file = "small.sugar",
summary = "A small sugarscape.",
source = "TerraME team"
}

50 changes: 50 additions & 0 deletions data/default.sugar
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
00000000000000000011111111122222222233333322222222
00000000000000000011111111222222223333333333222222
00000000000000000111111112222222333333333333332222
00000000000000000111111112222223333333333333333222
00000000000000000111111122222233333333333333333322
00000000000000001111111122222233333334444333333322
00000000000000011111111122222333333444444443333332
00000000000000011111111222222333334444444444333332
00000000000000111111111222223333334444444444333333
00000000000001111111111222223333344444444444433333
00000000000011111111112222223333344444444444433333
00000000000111111111112222223333344444444444433333
00000000001111111111112222223333344444444444433333
00000000011111111111112222223333334444444444333333
00000001111111111111122222223333334444444444333332
00000111111111111111222222223333333444444443333332
11111111111111111112222222223333333334444333333322
11111111111111111122222222222333333333333333333322
11111111111111122222222222222333333333333333333222
11111111112222222222222222222233333333333333332222
11111111222222222222222222222223333333333333222222
11111122222222222222222222222222233333333322222222
11112222222222222222222222222222222222222222222221
11122222222222222222222222222222222222222222222211
11222222222233333333322222222222222222222222222111
12222222223333333333333222222222222222222222211111
12222222333333333333333322222222222222222211111111
22222223333333333333333332222222222222111111111111
22222233333333333333333332222222222221111111111111
22222233333334444333333333222222222211111111111111
22222333333444444443333333222222222211111111111000
22222333334444444444333333222222221111111111110000
22223333334444444444333333222222221111111111000000
22223333344444444444433333222222111111111100000000
22223333344444444444433333222222111111111100000000
22223333344444444444433333222222111111111000000000
22223333344444444444433333222221111111110000000000
22223333334444444444333333222221111111100000000000
22222333334444444444333332222221111111100000000000
22222333333444444443333332222211111111000000000000
22222233333334444333333322222211111110000000000000
22222233333333333333333322222211111110000000000000
22222223333333333333333222222111111110000000000000
12222222333333333333332222221111111110000000000000
12222222223333333333222222221111111110000000000000
11222222222233333322222222211111111110000000000000
11122222222222222222222222111111111100000000000000
11112222222222222222222221111111111100000000000000
11111122222222222222222111111111111100000000000000
11111111222222222222211111111111111000000000000000
42 changes: 42 additions & 0 deletions data/small.sugar
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
0000000000000001111111222222333333333333333333
0000000000000011111111222222333333344443333333
0000000000000111111111222223333334444444433333
0000000000000111111112222223333344444444443333
0000000000001111111112222233333344444444443333
0000000000011111111112222233333444444444444333
0000000000111111111122222233333444444444444333
0000000001111111111122222233333444444444444333
0000000011111111111122222233333444444444444333
0000000111111111111122222233333344444444443333
0000011111111111111222222233333344444444443333
0001111111111111112222222233333334444444433333
1111111111111111122222222233333333344443333333
1111111111111111222222222223333333333333333333
1111111111111222222222222223333333333333333332
1111111122222222222222222222333333333333333322
1111112222222222222222222222233333333333332222
1111222222222222222222222222222333333333222222
1122222222222222222222222222222222222222222222
1222222222222222222222222222222222222222222222
2222222222333333333222222222222222222222222221
2222222233333333333332222222222222222222222111
2222223333333333333333222222222222222222111111
2222233333333333333333322222222222221111111111
2222333333333333333333322222222222211111111111
2222333333344443333333332222222222111111111111
2223333334444444433333332222222222111111111110
2223333344444444443333332222222211111111111100
2233333344444444443333332222222211111111110000
2233333444444444444333332222221111111111000000
2233333444444444444333332222221111111111000000
2233333444444444444333332222221111111110000000
2233333444444444444333332222211111111100000000
2233333344444444443333332222211111111000000000
2223333344444444443333322222211111111000000000
2223333334444444433333322222111111110000000000
2222333333344443333333222222111111100000000000
2222333333333333333333222222111111100000000000
2222233333333333333332222221111111100000000000
2222223333333333333322222211111111100000000000
2222222233333333332222222211111111100000000000
2222222222333333222222222111111111100000000000
10 changes: 10 additions & 0 deletions doc/files/LogoAgent.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ <h1>logo</h1>










Expand Down Expand Up @@ -90,6 +94,8 @@ <h1><a href="../files/models.html">Models</a></h1>








Expand All @@ -110,6 +116,7 @@ <h1>Types</h1>




</ul>


Expand All @@ -132,6 +139,8 @@ <h1>Types</h1>








Expand All @@ -150,6 +159,7 @@ <h1>Functions</h1>




</ul>


Expand Down
10 changes: 10 additions & 0 deletions doc/files/LogoModel.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ <h1>logo</h1>










Expand Down Expand Up @@ -90,6 +94,8 @@ <h1><a href="../files/models.html">Models</a></h1>








Expand All @@ -108,6 +114,7 @@ <h1>Types</h1>




</ul>


Expand All @@ -130,6 +137,8 @@ <h1>Types</h1>








Expand All @@ -150,6 +159,7 @@ <h1>Functions</h1>




</ul>


Expand Down
52 changes: 52 additions & 0 deletions doc/files/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ <h1>logo</h1>










Expand Down Expand Up @@ -90,6 +94,8 @@ <h1><a href="../files/models.html">Models</a></h1>








Expand All @@ -110,6 +116,7 @@ <h1>Types</h1>




</ul>


Expand All @@ -132,6 +139,8 @@ <h1>Types</h1>








Expand All @@ -152,6 +161,7 @@ <h1>Functions</h1>




</ul>


Expand Down Expand Up @@ -182,6 +192,11 @@ <h1>Data</h1>
<td class="summary">A room with a cross in the middle.</td>
</tr>

<tr>
<td class="name"><a href = "#default.sugar">default.sugar</a></td>
<td class="summary">The traditional sugarscape.</td>
</tr>

<tr>
<td class="name"><a href = "#maze.labyrinth">maze.labyrinth</a></td>
<td class="summary">A small maze.</td>
Expand All @@ -192,6 +207,11 @@ <h1>Data</h1>
<td class="summary">An empty room.</td>
</tr>

<tr>
<td class="name"><a href = "#small.sugar">small.sugar</a></td>
<td class="summary">A small sugarscape.</td>
</tr>

</table>


Expand All @@ -211,6 +231,22 @@ <h1>Data</h1>



</dd>

<dt><h2>default.sugar<a name="default.sugar"></h2></dt>

The traditional sugarscape.

<dd>

<br><b>Source: </b>

TerraME team





</dd>

<dt><h2>maze.labyrinth<a name="maze.labyrinth"></h2></dt>
Expand Down Expand Up @@ -243,6 +279,22 @@ <h1>Data</h1>



</dd>

<dt><h2>small.sugar<a name="small.sugar"></h2></dt>

A small sugarscape.

<dd>

<br><b>Source: </b>

TerraME team





</dd>

</dl>
Expand Down
10 changes: 10 additions & 0 deletions doc/files/font.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ <h1>logo</h1>










Expand Down Expand Up @@ -93,6 +97,8 @@ <h1><a href="../files/models.html">Models</a></h1>








Expand All @@ -113,6 +119,7 @@ <h1>Types</h1>




</ul>


Expand All @@ -135,6 +142,8 @@ <h1>Types</h1>








Expand All @@ -155,6 +164,7 @@ <h1>Functions</h1>




</ul>


Expand Down

0 comments on commit 04ac4b5

Please sign in to comment.