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

Check isomorphism - #31

Merged
TomNicholas merged 11 commits into
mainfrom
check_isomorphism
Aug 27, 2021
Merged

Check isomorphism#31
TomNicholas merged 11 commits into
mainfrom
check_isomorphism

Conversation

@TomNicholas

Copy link
Copy Markdown
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.

@TomNicholasTomNicholas mentioned this pull request Aug 27, 2021
@TomNicholas
TomNicholas merged commit b412456 into mainAug 27, 2021
@TomNicholasTomNicholas mentioned this pull request Aug 31, 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 freeto 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.

1 participant

@TomNicholas