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

Clean up EquationSearch with a SearchContext struct #174

Open
MilesCranmer opened this issue Feb 18, 2023 · 0 comments
Open

Clean up EquationSearch with a SearchContext struct #174

MilesCranmer opened this issue Feb 18, 2023 · 0 comments

Comments

@MilesCranmer
Copy link
Owner

One of the barriers to simplifying EquationSearch is that there are many variables that need to be passed around. Therefore I think it would be great if there was a single SearchContext struct so that all of these key variables could be stored.

Ideally I would like for EquationSearch to simply be a list of steps, like:

fetch_process(search_context, process_context[i], options)
update_hall_of_fame(search_context, options)
write_hall_of_fame_to_disk(search_context, options)
migration(search_context, options)
spawn_process(search_context, process_context[i], options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant