Hi
readbeard,
Please explain, how do you calculate the number of colonies in a given environment.
You mentioned
in the first 'situtation':
- Time t0 => 2 colonies
- Time t1 => 3 colonies
This is only possible if you don't count single cell as one colony. Please verify that it is the truth.
From my perspective, in the first situation at t0 and t1, both have 3 colonies.
- Time t0, we have 7 => 'a' , 1 => 'b' and 1 => 'b'
- Time t1, we have 3 => 'a', 3 => 'b' and 3 => 'a'
If my perspective is correct, then your problems is that how many 2-D groups you can find for given 'environment' at different timings. There may be well known algorithms for this. What I recall is the TileFall perl Program from
PerlPress. See how the initial groups are calculated and you may find your algorithm from there.
I also suggest to research Graphical algorithm index and to get some valuable hints.
artist