-
Notifications
You must be signed in to change notification settings - Fork 8
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 multi root graphs #84
crossover for multi root graphs #84
Conversation
…e_drop_mutation-fails-to-remove-node
Hello @maypink! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-04-21 08:41:14 UTC |
Codecov Report
@@ Coverage Diff @@
## main #84 +/- ##
==========================================
- Coverage 72.07% 71.33% -0.75%
==========================================
Files 115 115
Lines 6310 6453 +143
==========================================
+ Hits 4548 4603 +55
- Misses 1762 1850 +88
... and 11 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
b8fdbe9
to
86ff2cd
Compare
Previously
equivalent_subtree
was considering only common subgraphs on the same level of graph (e.g. root_node has 0 level and all primary nodes have maximum level). Also the list of common subgraphs wasn't comprehensive.Now it returns the list of all common subgraphs. However, since we are considdering all primary nodes, the full list of common subgraphs can be large, therefore
with_primary_nodes
was added.equivalent_subtree
for graphs with multi roots fixed itself somehow with fixing single root case.