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

Improve node indexing in tree #3

Open
MischaPanch opened this issue Jan 9, 2023 · 1 comment
Open

Improve node indexing in tree #3

MischaPanch opened this issue Jan 9, 2023 · 1 comment

Comments

@MischaPanch
Copy link

At the current state, the node indices are not really use (only for visualization and debugging). In principle they could be used to associate prototypes to the nodes, but this is not possible now because of the way the index is created. Only internal nodes are associated to a prototype, but leaves don't have a higher index than internal nodes.

Generally, the tree structure might benefit from further refactoring. Maybe we can use the binarytree library.

@Clifford-appliedAI-GmbH
Copy link
Collaborator

This is partially resolved as of #33 (note: not just that PR, also due to earlier commits), but there's still some redundant indexing remaining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants