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

Make existing heuristics usable as components #98

Closed
Saethox opened this issue Jun 27, 2022 · 0 comments · Fixed by #107
Closed

Make existing heuristics usable as components #98

Saethox opened this issue Jun 27, 2022 · 0 comments · Fixed by #107
Assignees
Labels
enhancement New feature or request

Comments

@Saethox
Copy link
Collaborator

Saethox commented Jun 27, 2022

To enable hybrid heuristics and inner local searches, we should provide heuristics both stand-alone and as components. This pretty much means

  • adding inner_heuristic or heuristic_component functions for each heuristic, which omit the initialization component, i.e., use the current population on the stack,
  • and replacing the existing functions to use the component together with the initialization.

Thanks to our new architecture, adding a nested local search then becomes as simple as

ConfigurationBuilder::new()
    ...
    .do_(inner_local_search(...))
    ...
    .build();
@Saethox Saethox mentioned this issue Jul 16, 2022
7 tasks
@Saethox Saethox added the enhancement New feature or request label Jul 20, 2022
@Saethox Saethox self-assigned this Aug 12, 2022
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

Successfully merging a pull request may close this issue.

1 participant