Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Conversation

@TomNicholas
Copy link
Member

Added function to test if two trees are isomorphic to one another, which is a necessary check to perform as part of solving #29 .

Also refactors some things, including pulling code out into a new mapping.py module.

@TomNicholas TomNicholas mentioned this pull request Aug 27, 2021
@TomNicholas TomNicholas merged commit b412456 into main Aug 27, 2021
@TomNicholas TomNicholas deleted the check_isomorphism branch September 2, 2021 16:15
flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
* pseudocode ideas for generalizing map_over_subtree

* pseudocode for a generalized map_over_subtree (still only one return arg) + a new mapping.py file

* pseudocode for mapping but now multiple return values

* pseudocode for mapping but with multiple return values

* check_isomorphism works and has tests

* cleaned up the mapping tests a bit

* remove WIP from oter branch

* ensure tests pass

* map_over_subtree in the public API properly

* linting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants