|
@@ -0,0 +1,18 @@
|
|
1
|
+GTE Genetic Turmit Evolver
|
|
2
|
+
|
|
3
|
+Use selection to evolve turmits. Turmit's behavior is defined by an expression
|
|
4
|
+in reverse polish notation using an infinite loop stack and avoiding arithmetic
|
|
5
|
+errors.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+Exemple :
|
|
9
|
+---------
|
|
10
|
+
|
|
11
|
+# Evolve a pool of random generated turmit (with prog expr of size 5) the pool
|
|
12
|
+# contains 15 turmits and only the best 1/5 is kept. The "best" is evaluated
|
|
13
|
+# after 30000 steps and on an average of 3 runs. 2 threads will be used and
|
|
14
|
+# a log with all expr and there fractdim will be written in gte.log
|
|
15
|
+python3 -m gte evolve --threads 2 -L gte.log -p 15 -D 5 --steps 30000 -R 3 --prog-size 5
|
|
16
|
+
|
|
17
|
+# Generate an image of 40000 steps of 10 turmits in gte.png
|
|
18
|
+python3 -m gte generate -o gte.png --steps 40000 -x 1024 -y 1024 -T 10 -P '0x982A POP 0xAE9D R & +'
|