Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
simulating_photosynthesis [2008-10-06 09:57] – davegriffiths | simulating_photosynthesis [2008-10-09 11:08] (current) – davegriffiths | ||
---|---|---|---|
Line 2: | Line 2: | ||
Using lindenmayer systems and genetic algorithms to simulate plant growth. | Using lindenmayer systems and genetic algorithms to simulate plant growth. | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | {{http:// | ||
Plants are given a " | Plants are given a " | ||
Line 12: | Line 8: | ||
* Are they in shadow from another leaf? | * Are they in shadow from another leaf? | ||
* Are they below the ground? | * Are they below the ground? | ||
- | * Also - the fitness drops as the plant description (a linenmayer system string) gets too long. | + | * The fitness drops as the plant description (a linenmayer system string) gets too long. |
+ | |||
+ | {{http:// | ||
+ | {{http:// | ||
+ | {{http:// | ||
+ | |||
+ | The leaf score is indicated by it's colour (red=bad, green=good). | ||
Using this measurement, | Using this measurement, | ||
Line 20: | Line 22: | ||
</ | </ | ||
- | The simplest strategy is to " | + | The simplest strategy is to " |
{{http:// | {{http:// | ||
- | The result of a long run with many thousands of generations. | + | The result of a long run with many thousands of generations. Many leaves circle the light to get the maximum photosynthesis possible. |
{{http:// | {{http:// | ||
Line 31: | Line 33: | ||
Code: http:// | Code: http:// | ||
+ | |||
+ | < | ||
+ | <embed src=" | ||
+ | </ | ||
+ | |||
+ | Another evolutionary run, a bit more interesting than the one-leaf approach. |