sean butler

genetic programming experiment by combining syntax trees

genetic   compiler   selected

Written for generation of simple video games, but generally usable for any realtime simulation where you want to investigate evolution of agents with movement and avoidance.

Pretty awesome graphics eh?! Thats not the point though, each box represents an agent in the world which can evolve through genetic programming.

architecture / method

tree

the tree phase of compilation generates something like the following

these trees can be combined and mutated so they can grow and evolve.

code

the code you can write yourself to build an intial entity looks like this.

its somewhat c-like with some special restrictions to support the genetic programming. for example all functions take 1 parameter and return 1 parameter. this requires some flexability on the part of someone who builds an eve agent, but not insurmountable.