HTML5_Genetic_Cars reviews and mentions
-
Watch cars evolve using genetic algorithm
It does have crossover, doesn't it?
There's a GitHub link at the bottom which gives us this:
https://github.com/red42/HTML5_Genetic_Cars/blob/master/src/...
And that seems to call into createCrossBreed() in here:
https://github.com/red42/HTML5_Genetic_Cars/blob/master/src/...
And that gets a parentChooser callback, which seems to be cw_chooserParent() from here:
https://github.com/red42/HTML5_Genetic_Cars/blob/master/src/...
And that has some swap points and a thing that toggles between parents when some index matches one of two values.
I'm not really a JS programmer or a GA expert, but it looks like crossover to me.
-
Genetic Car Designer - Play with an evolutionary algorithm to design a car to travel as far as possible!
comes with free source code: https://github.com/red42/HTML5_Genetic_Cars
Stats
red42/HTML5_Genetic_Cars is an open source project licensed under zlib License which is an OSI approved license.
The primary programming language of HTML5_Genetic_Cars is JavaScript.
Sponsored