Skip to content

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