<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Oct 9, 2008 at 8:54 PM, jm <span dir="ltr"><<a href="mailto:jeffm@ghostgun.com">jeffm@ghostgun.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
</div><div class="Ih2E3d"><br>
</div><div class="Ih2E3d">> Moving is a little tricky because we need to change the<br>
> state of two cells (if doing cells) or possibly two<br>
> patches (if doing patches).<br>
</div>Can you live with an ant occupying two squares at once? Then enter the<br>
new location first before leaving the old location.<br>
</blockquote><div> </div><div>That would break the transactional consistency that the example has in Clojure: You have a thing you want to move from one place to another, you don't want it to be in both places, and you don't want it to be no place. <br>
<br>It would also break the graphical display of the simulation if the number of ants fluctuated from frame to frame.<br><br>-- rec --<br></div></div></div>