Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] What about Individual crossover? #14

Open
lsunsi opened this issue Feb 3, 2018 · 2 comments
Open

[Question] What about Individual crossover? #14

lsunsi opened this issue Feb 3, 2018 · 2 comments

Comments

@lsunsi
Copy link

lsunsi commented Feb 3, 2018

From my basic knowledge on this subject, cross over between fit individuals is a crucial part on this algorithm, but I don't see the method on the Individual trait. Why was this choice made?

@willi-kappler
Copy link
Owner

Hi lsunsi,

darwin-rs implements an evolutionary algorithm which is more general than a genetic algorithm.

With genetic algorithms you have a genetic sequence data structure which has cross over and other stuff. Evolutionary algorithms just mutate individuals and calculate a fittness for each individual.
Indirectly you can have a cross over but that happens by chance and depends on the actual mutation.

There are other rust based gentic algorithm crates that implement cross over, for example:

https://github.com/m-decoster/RsGenetic

Hope this helps!

@lsunsi
Copy link
Author

lsunsi commented Feb 15, 2018

@willi-kappler It does (: Thanks for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants