Yann Weber
8c6f2c78d9
Add a feature to generate a white noise background as init world
6 anni fa
Yann Weber
6f004245f3
Add a score to evaluate the use of variable in direction calculation
6 anni fa
Yann Weber
25d7e7a0f7
Fixing help text
6 anni fa
Yann Weber
bb98817ce7
Add a TODO
6 anni fa
Yann Weber
bbc9ced95e
Add a SWP swap operation (xchg two values on top of stack)
6 anni fa
Yann Weber
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.
6 anni fa
Yann Weber
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] ).
6 anni fa
Yann Weber
6c85234338
Enhancement of dirvar score
Now the collect interval is incremented at each dirvar update
6 anni fa
Yann Weber
038692f03f
Enable jcmp op again
6 anni fa
Yann Weber
f9172c0265
Add an option to save animation images
6 anni fa
Yann Weber
8b92e8d329
Update output and dirvar score calculation
6 anni fa
Yann Weber
8874bc174f
Update mutation type proba
6 anni fa
Yann Weber
f2e2e96d6a
Optimisation of expression execution
By compiling code on the fly and falling back to std method for jumps
6 anni fa
Yann Weber
0015a5347a
Add a save animation option and a try to dedup the turmit we keep
6 anni fa
Yann Weber
767230c099
GTE is too smart and make diagonals changing direction every 50 steps...
6 anni fa
Yann Weber
538906994e
Add a direction variation score
6 anni fa
Yann Weber
cb1b9531b4
Bugfix mutator and 0 len expr
6 anni fa
Yann Weber
9acb2b702d
Bugfix in JCMP
6 anni fa
Yann Weber
b57515811c
Add more woot results
6 anni fa
Yann Weber
07fc92c527
Add div operation
6 anni fa
Yann Weber
6fe79da798
Updated test about small numbers
6 anni fa
Yann Weber
14cc814989
Put make old mutations probabilities
6 anni fa
Yann Weber
aa0a96e919
Change gray mode and add a bw mode + small numbers display
6 anni fa
Yann Weber
6ca855a955
Add some options and a disabled diagonals mode
6 anni fa
Yann Weber
7d7754aad8
Bugfixes in mutator and in turmit
Turmit stack size was 0 sometimes
Mutator sometimes delete leading to empty expressions
6 anni fa
Yann Weber
f76402f847
Update README.txt
6 anni fa
Yann Weber
ec4e4a9951
Bugfix in mutator when len(expr) == 1
6 anni fa
Yann Weber
1168903155
Add cool expr
6 anni fa
Yann Weber
fb466b3520
Bugfix in mutator when len(expr) == 1
6 anni fa
Yann Weber
bd862590b2
Enhance color handling + add gray option
6 anni fa
Yann Weber
6b1e0a7f26
Add optionnal variable step count
6 anni fa
Yann Weber
79abfd35ab
Enable optional exponential mutation count
6 anni fa
Yann Weber
cac2ec142e
Bugfix in world evaluator + enhance steps count
Now steps count evolve given the try number from 100% to 33%
6 anni fa
Yann Weber
37d82e992d
Bugfix in mutator + enhance __main__
6 anni fa
Yann Weber
8f1d22c6aa
Add README
6 anni fa
Yann Weber
d3501926b1
Enhancement in random value generators
6 anni fa
Yann Weber
563f87838b
Add more woot results
6 anni fa
Yann Weber
62a4306158
Add comparison methods
6 anni fa
Yann Weber
b4b60721e3
Optimisation in World init + update default args
6 anni fa
Yann Weber
0bc8b81123
Update argparse + add WOOT.result
first turmit that looks nice :D
6 anni fa
Yann Weber
a698d20ddc
Optimisation + bugfix
6 anni fa
Yann Weber
de825780e6
Add RpnSymbol and RpnExpr __eq__ methods
6 anni fa
Yann Weber
c1ab518252
Add op alias and jmp method
6 anni fa
Yann Weber
a77bfd2e6c
Add options, enhance output + bugfixes
6 anni fa
Yann Weber
4998451958
Implement Turmit.bin_xor + add stack size limit
6 anni fa
Yann Weber
b5369a9a41
Add subparser and image generator
6 anni fa
Yann Weber
8b6aa86c33
Enhanced __main__ and add mutator
6 anni fa
Yann Weber
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
6 anni fa
Yann Weber
fb27715713
Ajout d'un main de test
L'essentiel du main sera déplacé dans un module
6 anni fa
Yann Weber
cc0d798302
Ajout d'une méthode str pour les RpnExpr
6 anni fa