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

Crossover for dag and tree structures #206

Closed
YamLyubov opened this issue Oct 3, 2023 · 0 comments · Fixed by #212
Closed

Crossover for dag and tree structures #206

YamLyubov opened this issue Oct 3, 2023 · 0 comments · Fixed by #212
Assignees

Comments

@YamLyubov
Copy link
Collaborator

YamLyubov commented Oct 3, 2023

Now crossover does not work for trees and dag (try to launch graph_search with one point crosssover).
Problems:

  • stack overflow at the begining of the launch (structural_equivalent_nodes)

image

  • cycled graph appiars during crossover (update_subtree)

image

Possible causes:

  • incorrect graph_has_cycle function
  • crossover was implemented not for classical trees and dags but for reversed ones
  • two graphs while crossover contain nodes with the same uids because of the way adaptation for nx graphs is implemented
@YamLyubov YamLyubov self-assigned this Oct 3, 2023
@YamLyubov YamLyubov linked a pull request Oct 10, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant