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

How to get the number of objects saved in a certain node? #4

Open
xysoul opened this issue Mar 24, 2017 · 2 comments
Open

How to get the number of objects saved in a certain node? #4

xysoul opened this issue Mar 24, 2017 · 2 comments

Comments

@xysoul
Copy link

xysoul commented Mar 24, 2017

Hi,
I wonder how can I get the number of objects saved in a certain node, e.g:a LEAF node or POINTER?
If I want to limit the objects in leaf node, for example, if the objects in a node are over 10, then it should split to deeper, and can not be LEAF node. How can I achieve that?
Also, how to know the depth of the tree?
Thanks.

@xysoul xysoul changed the title How to get the number of objects saved in a certain node, e.g:a leaf node or POINTER? How to get the number of objects saved in a certain node? Mar 24, 2017
@whaqzhzd
Copy link

I have this problem too

@xysoul xysoul closed this as completed Mar 25, 2017
@xysoul xysoul reopened this Mar 25, 2017
@ConfusedLolo
Copy link

It's splitting into four sub tress whenever a new node has been added. To modify this behaviour one should use a collection to contain generic data, write their own insert function and determine the threshold.

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

No branches or pull requests

3 participants