[Geowanking] efficient algorithms for cellular automata?

Anselm Hook anselm at gmail.com
Wed Jan 23 10:11:24 PST 2008


Thought I'd ask the list this question more directly:

If you have a large cellular automata; such as say conways-life (or
something with perhaps a few more bits per pixel) - what is an efficient way
to represent this in memory?

It seems to be similar to compressing an image.  There are a variety of
algorithms for compressing images.  The goal often seems to be to find
duplicate blocks.

One constraint is that I want the data to be pixel addressable and speed is
critical since the data-set may be large.  The best performance is of course
linear time with no indirection ( pixel = memory[ x + y * stride ] ).

This is intended to be used to simulate watersheds.

 - a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geowanking.org/pipermail/geowanking_geowanking.org/attachments/20080123/5093a202/attachment-0003.html>


More information about the Geowanking mailing list