Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
simulating_photosynthesis [2008-10-06 10:01] davegriffithssimulating_photosynthesis [2008-10-09 11:08] 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://www.pawfal.org/dave/images/patab-angle-s.png}} 
-{{http://www.pawfal.org/dave/images/patab-close-s.png}} 
-{{http://www.pawfal.org/dave/images/patab-occlude-s.png}} 
  
 Plants are given a "fitness" based on their leaves -  Plants are given a "fitness" based on their leaves - 
Line 13: Line 9:
   * 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.   * Also - the fitness drops as the plant description (a linenmayer system string) gets too long.
 +
 +{{http://www.pawfal.org/dave/images/patab-angle-s.png}}
 +{{http://www.pawfal.org/dave/images/patab-close-s.png}}
 +{{http://www.pawfal.org/dave/images/patab-occlude-s.png}}
 +The leaf score is indicated by it's colour (red=bad, green=good).
  
 Using this measurement, a genetic algorithm can create populations of individual plants, score each one and iteratively create new populations by combining fit individuals. Using this measurement, a genetic algorithm can create populations of individual plants, score each one and iteratively create new populations by combining fit individuals.
Line 24: Line 25:
 {{http://www.pawfal.org/dave/images/patab-long.png}} {{http://www.pawfal.org/dave/images/patab-long.png}}
  
-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://www.pawfal.org/dave/images/patab-helped.png}} {{http://www.pawfal.org/dave/images/patab-helped.png}}
Line 35: Line 36:
 <embed src="http://blip.tv/play/AdGkMo_+Sw" type="application/x-shockwave-flash" width="640" height="480" allowscriptaccess="always" allowfullscreen="true"></embed>  <embed src="http://blip.tv/play/AdGkMo_+Sw" type="application/x-shockwave-flash" width="640" height="480" allowscriptaccess="always" allowfullscreen="true"></embed> 
 </html> </html>
 +
 +Another evolutionary run, a bit more interesting than the one-leaf approach.
  • simulating_photosynthesis.txt
  • Last modified: 2008-10-09 11:08
  • by davegriffiths