Open andeElliott opened 6 years ago
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
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
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