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

Update bindings.cpp #536

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

IbraheemTaha
Copy link

Add a python function get_max_layer which returns the maxlevel_ of the index.

Add a python function "get_max_layer" which returns the "maxlevel_" of the index
Add the Python binding to the functions that returns the node degree (number of neighbors) to a node given its label.
Add the C++ function "getNodeDegree" which returns the count of a node neighbors, given its label.
@IbraheemTaha
Copy link
Author

I added a python function get_node_degree binding to the C++ function getNodeDegree which returns the count of neighbors of a node given its label.

Add the Python function "get_average_degree_at_layer" which returns the average nodes degree for a given layer.
Add the functions "getAverageDegreeAtLayer" and "getAverageDegreeAtLayer0" which return the average node degree at a given layer (level).
@IbraheemTaha
Copy link
Author

I added the Python function get_average_degree_at_layer and the corresponding C++ function getAverageDegreeAtLayer0 which returns the average node degree of a given layer (level).

These functions is to get more insights and internal information about the structure of the index.

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