Parmeggiani-Lab / elfin-solver

Standard Genetic Algorithm solver for elfin
MIT License
0 stars 0 forks source link

Remove hard MAX_LEN limit on candidate size and use probability instead. #17

Closed joy13975 closed 5 years ago

joy13975 commented 5 years ago

Allow candidates to deviate from MAX_LEN with diminishing probability.

joy13975 commented 5 years ago

Done back in 75688c4310373bede053231b3a7f0b60dbaf6dcd, but regenerate() still grows only up to MAX_LEN (which is now called target_size). Mutation operators are allowed to deviate from this number.