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

Use manager.dict from multiprocessing to store genome #20

Open
gnypit opened this issue Jan 11, 2025 · 0 comments
Open

Use manager.dict from multiprocessing to store genome #20

gnypit opened this issue Jan 11, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gnypit
Copy link
Owner

gnypit commented Jan 11, 2025

In order to ensure proper handling of different data types of genes in the parallel GA they should be stored inside a dict using the Manager class from multiprocessing. Chromosome class should take a list of genes and an instance of the Manager class as input in the constructor. Next, in the field genome a manager.dict with genes as values should be remembered to allow child processes using them for fitness evaluation.

@gnypit gnypit added the enhancement New feature or request label Jan 11, 2025
@gnypit gnypit self-assigned this Jan 11, 2025
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