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

Support "Joker" plants in the genetic optimizer #5

Open
1n5pire opened this issue Jul 25, 2021 · 0 comments
Open

Support "Joker" plants in the genetic optimizer #5

1n5pire opened this issue Jul 25, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@1n5pire
Copy link
Collaborator

1n5pire commented Jul 25, 2021

"Joker" plants are plants that can be chosen by the optimizer to improve the garden plan / symbioses.

The user can choose a certain number of these "joker" plants and then the optimizer tries to find the best concrete plant.

Implementation ideas

  • A new mutation type -> Change the joker plant type
  • How to choose which plant: Maybe pick a random plant in the beet and have a look for a plant in the database which would benefit it (-> select a random plant in the plan and then pick a random one of the "good" plants)
  • Crossover: Treat the joker plants like their own plant type (so that the existing plant count algorithm can be used). After the normal crossover is complete, fill in the concrete plant types for the joker plants
    • If possible and if the joker is still in the same position, use the plant that was originally there
    • If another plant is now where it originally was, find a plant of the same type that is not a joker and make this the new joker position
@1n5pire 1n5pire self-assigned this Jul 26, 2021
@1n5pire 1n5pire added the enhancement New feature or request label Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant