Genetic Turmit Evolver
Find a file
2018-05-14 16:55:49 +02:00
gte Bugfix in mutator when len(expr) == 1 2018-05-14 16:55:34 +02:00
tests Add options, enhance output + bugfixes 2018-05-14 02:48:54 +02:00
Doxyfile Corrected paths in Doxyfile 2018-04-24 23:00:34 +02:00
README Add README and runtest.sh script 2018-04-24 21:49:28 +02:00
README.txt Add README 2018-05-14 05:40:57 +02:00
runtest.sh Add README and runtest.sh script 2018-04-24 21:49:28 +02:00
WOOT.result Add cool expr 2018-05-14 16:55:49 +02:00

GTE Genetic Turmit Evolver

Use selection to evolve turmits. Turmit's behavior is defined by an expression
in reverse polish notation using an infinite loop stack and avoiding arithmetic
errors.


Exemple :
---------

# Evolve a pool of random generated turmit (with prog expr of size 5) the pool
# contains 15 turmits and only the best 1/5 is kept. The "best" is evaluated
# after 30000 steps and on an average of 3 runs. 2 threads will be used and
# a log with all expr and there fractdim will be written in gte.log
python3 -m gte evolve --threads 2 -L gte.log -p 15 -D 5 --steps 30000 -R 3 --prog-size 5

# Generate an image of 40000 steps of 10 turmits in gte.png
python3 -m gte generate -o gte.png --steps 40000 -x 1024 -y 1024 -T 10 -P '0x982A POP 0xAE9D R & +'