Abelian sandpile model/Identity: Difference between revisions

m
format
(New draft task with Python solution)
 
m (format)
Line 42:
 
;Task:
* 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 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 following sandpile:
following sandpile:
<pre> 2 1 2
1 0 1
Line 53 ⟶ 51:
: * Show that <code>s3 + s3_id == s3</code>
: * Show that <code>s3_id + s3_id == s3_id</code>
 
Show confirming output here, with your example.
 
;References:
Anonymous user