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

Add region_map.get_common_node_groups to help group nodes with the sa… #23

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgeplf
Copy link
Collaborator

@mgeplf mgeplf commented Jul 17, 2023

…me children values

A common usecase is to take a set of "leaf" nodes within a hierarchy, and have the same values for many of them.
This fines the most common ancestors that satisfies having the same value for all subtrees of that node.

…me children values

A common usecase is to take a set of "leaf" nodes within a hierarchy,
and have the same values for many of them.  This fines the most common
ancestors that satisfies having the same value for all subtrees of that
node.
@mgeplf
Copy link
Collaborator Author

mgeplf commented Jul 17, 2023

Up for debate is the interface, and how to do it more efficiently. Not sure I've covered all the cases, either....

@mgeplf mgeplf marked this pull request as draft July 17, 2023 15:03
@mgeplf
Copy link
Collaborator Author

mgeplf commented Jul 17, 2023

I think I found bugs, I'll have to rethink the approach a bit.

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 this pull request may close these issues.

1 participant