资 源 简 介
QtBugs
This program simulates a petri dish full of bugs - the bugs" DNA is used as a computer program to control their behavior and is recombined during reproduction to produce new bugs - with a small chance of mutation. They have the colors of nearby locations as inputs and their own color and direction of motion as outputs. A fixed amount of energy exists in the system to control the population.
The bugs" behavior can be influenced by changing the distribution pattern of energy (food), as well as many environmental parameters, such as the total energy available, the energy cost of moving and of sitting still, the minimum amount of energy that must be passed to children, etc. A graph of the genetic variance can be used to inspect the distributions of genes within the population, and a disassembler is available for viewing the genetic programs. You can save and restore the state of the petri dish.
The bugs start out with completely random programs/DNA, bu