Commit graph

73 commits

Author SHA1 Message Date
8c6f2c78d9 Add a feature to generate a white noise background as init world 2018-08-14 16:29:45 +02:00
6f004245f3 Add a score to evaluate the use of variable in direction calculation 2018-08-14 16:29:22 +02:00
25d7e7a0f7 Fixing help text 2018-08-10 16:14:16 +02:00
bb98817ce7 Add a TODO 2018-07-06 01:09:06 +02:00
bbc9ced95e Add a SWP swap operation (xchg two values on top of stack) 2018-05-21 17:22:51 +02:00
723bba7d96 Optimize & enhance animation writing
Now we can specify a printf filename format and the save is made by PIL.
The image is build from array in main thread (avoid overhead of sending the
array through a pipe) and then saved by a Pool.
2018-05-19 20:35:16 +02:00
b2060bc608 Enhancement in dirvar score again
Add a correction to ensure that fractdim score is in [0..1]. The new
score in given by 1 - (1/((x+1)**4)) with x the old factdim score (between
[0..2] or [0..4] ).
2018-05-19 14:23:17 +02:00
6c85234338 Enhancement of dirvar score
Now the collect interval is incremented at each dirvar update
2018-05-19 06:47:23 +02:00
038692f03f Enable jcmp op again 2018-05-19 04:48:42 +02:00
f9172c0265 Add an option to save animation images 2018-05-19 04:48:20 +02:00
8b92e8d329 Update output and dirvar score calculation 2018-05-19 04:47:11 +02:00
8874bc174f Update mutation type proba 2018-05-17 08:41:10 +02:00
f2e2e96d6a Optimisation of expression execution
By compiling code on the fly and falling back to std method for jumps
2018-05-17 08:37:42 +02:00
0015a5347a Add a save animation option and a try to dedup the turmit we keep 2018-05-17 06:02:13 +02:00
767230c099 GTE is too smart and make diagonals changing direction every 50 steps... 2018-05-17 06:01:49 +02:00
538906994e Add a direction variation score 2018-05-17 05:39:25 +02:00
cb1b9531b4 Bugfix mutator and 0 len expr 2018-05-17 05:39:07 +02:00
9acb2b702d Bugfix in JCMP 2018-05-17 05:36:37 +02:00
b57515811c Add more woot results 2018-05-17 04:09:15 +02:00
07fc92c527 Add div operation 2018-05-17 04:08:59 +02:00
6fe79da798 Updated test about small numbers 2018-05-17 04:08:38 +02:00
14cc814989 Put make old mutations probabilities 2018-05-17 04:07:42 +02:00
aa0a96e919 Change gray mode and add a bw mode + small numbers display 2018-05-17 04:06:53 +02:00
6ca855a955 Add some options and a disabled diagonals mode 2018-05-17 04:06:07 +02:00
7d7754aad8 Bugfixes in mutator and in turmit
Turmit stack size was 0 sometimes
Mutator sometimes delete leading to empty expressions
2018-05-15 00:53:22 +02:00
f76402f847 Update README.txt 2018-05-14 16:59:17 +02:00
ec4e4a9951 Bugfix in mutator when len(expr) == 1 2018-05-14 16:58:18 +02:00
1168903155 Add cool expr 2018-05-14 16:55:49 +02:00
fb466b3520 Bugfix in mutator when len(expr) == 1 2018-05-14 16:55:34 +02:00
bd862590b2 Enhance color handling + add gray option 2018-05-14 16:55:08 +02:00
6b1e0a7f26 Add optionnal variable step count 2018-05-14 13:34:45 +02:00
79abfd35ab Enable optional exponential mutation count 2018-05-14 13:25:27 +02:00
cac2ec142e Bugfix in world evaluator + enhance steps count
Now steps count evolve given the try number from 100% to 33%
2018-05-14 13:21:35 +02:00
37d82e992d Bugfix in mutator + enhance __main__ 2018-05-14 13:20:49 +02:00
8f1d22c6aa Add README 2018-05-14 05:40:57 +02:00
d3501926b1 Enhancement in random value generators 2018-05-14 05:26:02 +02:00
563f87838b Add more woot results 2018-05-14 05:20:09 +02:00
62a4306158 Add comparison methods 2018-05-14 05:19:58 +02:00
b4b60721e3 Optimisation in World init + update default args 2018-05-14 05:19:21 +02:00
0bc8b81123 Update argparse + add WOOT.result
first turmit that looks nice :D
2018-05-14 04:11:11 +02:00
a698d20ddc Optimisation + bugfix 2018-05-14 03:53:15 +02:00
de825780e6 Add RpnSymbol and RpnExpr __eq__ methods 2018-05-14 03:50:16 +02:00
c1ab518252 Add op alias and jmp method 2018-05-14 03:42:13 +02:00
a77bfd2e6c Add options, enhance output + bugfixes 2018-05-14 02:48:54 +02:00
4998451958 Implement Turmit.bin_xor + add stack size limit 2018-05-14 02:47:51 +02:00
b5369a9a41 Add subparser and image generator 2018-05-14 01:52:17 +02:00
8b6aa86c33 Enhanced __main__ and add mutator 2018-05-14 00:59:07 +02:00
860b25bfe0 Add a world module that handle turmit exec env
A world (World) is a place where turmit can run (LivingTurmit) and has
methods to determine its fractam dimention and to save a representing image
2018-05-13 23:34:17 +02:00
fb27715713 Ajout d'un main de test
L'essentiel du main sera déplacé dans un module
2018-05-13 22:52:22 +02:00
cc0d798302 Ajout d'une méthode str pour les RpnExpr 2018-05-13 22:51:30 +02:00