Abelian sandpile model/Identity: Difference between revisions
Content added Content deleted
(New draft task with Python solution) |
m (format) |
||
Line 42: | Line 42: | ||
;Task: |
;Task: |
||
* Create a class or datastructure and functions to represent and operate on |
* Create a class or datastructure and functions to represent and operate on sandpiles. |
||
sandpiles. |
|||
* Confirm the result of the avalanche of topplings shown above |
* Confirm the result of the avalanche of topplings shown above |
||
* Confirm that s1 + s2 == s2 + s1 # Show the stable results |
* Confirm that s1 + s2 == s2 + s1 # Show the stable results |
||
* If s3 is the sandpile with number 3 in every grid area, and s3_id is the |
* If s3 is the sandpile with number 3 in every grid area, and s3_id is the following sandpile: |
||
following sandpile: |
|||
<pre> 2 1 2 |
<pre> 2 1 2 |
||
1 0 1 |
1 0 1 |
||
Line 53: | Line 51: | ||
: * Show that <code>s3 + s3_id == s3</code> |
: * Show that <code>s3 + s3_id == s3</code> |
||
: * Show that <code>s3_id + s3_id == s3_id</code> |
: * Show that <code>s3_id + s3_id == s3_id</code> |
||
Show confirming output here, with your example. |
|||
;References: |
;References: |