mirobeka / cellular-automata

Experiments on lattice
2 stars 0 forks source link

Termination conditions #43

Closed mirobeka closed 10 years ago

mirobeka commented 10 years ago

Make class responsible for terminating simulation of CA. Termination could be based on several reasons, but the most importantly, for "ca energy".

Energy should be based on changes that are happening between cells. Amount of chemicals exchanged, state changes, etc.

Important! Condition should recognise loop pattern (ca is in loop, ca energy is excited, but it's stuck)