ans-4175 / password-ga

Password Generator using Genetic Algorithm
https://password.apayak.xyz/
Do What The F*ck You Want To Public License
28 stars 2 forks source link

Improving GA #6

Closed ans-4175 closed 3 years ago

ans-4175 commented 3 years ago

Konfigurasi GA cukup di jumlah populasi, panjang password. Banyaknya generasi dilakukan bukan dari maksimal generasi, tapi dari "convergence" nilai max fitness dan min fitness sudah dibawah threshold tertentu. Sehingga diasumsikan "converge"

if (maxFitness-minFitness) <= THRESHOLD then generasi stop

ans-4175 commented 3 years ago

fixed on https://github.com/ans-4175/password-ga/commit/6aea5638fdaac7932bac23de5c7a1dbc09070c14