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

Graphlet Counting is slower than it should be. #107

Open
andeElliott opened this issue May 31, 2018 · 0 comments
Open

Graphlet Counting is slower than it should be. #107

andeElliott opened this issue May 31, 2018 · 0 comments

Comments

@andeElliott
Copy link
Collaborator

For a graph that i am testing, it takes almost twice as long to generate the graphlets as it does to to count the orbits.

The underlying code converts from orbits to graphlets, so we just need to speed up the conversion. Timings:

Orbit Counts

tic(); q12 = netdist::count_orbits_per_node(G,4); toc()
0.379 sec elapsed
tic(); q12 = netdist::count_orbits_per_node(G,5); toc()
1.425 sec elapsed

graphlets Counts
tic(); q12 = netdist::count_graphlets_per_node(G,4); toc()
0.653 sec elapsed
tic(); q12 = netdist::count_graphlets_per_node(G,5); toc()
2.306 sec elapsed

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

1 participant