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

Implement crossover #3

Closed
Gastd opened this issue Nov 7, 2022 · 0 comments
Closed

Implement crossover #3

Gastd opened this issue Nov 7, 2022 · 0 comments

Comments

@Gastd
Copy link
Owner

Gastd commented Nov 7, 2022

The crossover should split the chromosome into two parts. The parts are merged with other parent parts to create two new offspring. Our individual is a tree, so we randomly choose a node and split the tree into this node. The same is done for the second parent. We create the offspring by merging the tree with the subtree, creating a new individual.

@Gastd Gastd closed this as completed Nov 8, 2022
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

1 participant