netrankr icon indicating copy to clipboard operation
netrankr copied to clipboard

Calculate centrality for specific vertices only?

Open mbojan opened this issue 7 years ago • 1 comments

Great! Thanks for that!

One suggestion, at least for the index-calculating functions. I think it would make sense if they all would share the same first two arguments:

  1. The graph.
  2. Vertex ids for which the index will be calculated.

Just like igraph::betweenness for example. If one is interested in scores for only subset of vertices, or specific vertex, it will speed-up computation quite a bit.

mbojan avatar Sep 19 '17 19:09 mbojan

thanks for the suggestion. My personal TODO list already includes a point to make everything more consistent with igraph. Once all the (potential) initial bugs are fixed I am gonna start on that

schochastics avatar Sep 20 '17 09:09 schochastics