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

names of centrality measures #317

Closed
nwlandry opened this issue Apr 2, 2023 · 3 comments · Fixed by #316
Closed

names of centrality measures #317

nwlandry opened this issue Apr 2, 2023 · 3 comments · Fixed by #316

Comments

@nwlandry
Copy link
Collaborator

nwlandry commented Apr 2, 2023

I was noticing that I named the functions CEC_centrality and HEC_centrality. But "CEC" is an acronym for "Clique motif Eigenvector Centrality" (Benson 2019) and "HEC" is an acronym for "H-eigenvector centrality" (Benson 2019) so "centrality" in the function names is redundant. Any ideas for renaming these?

@maximelucas
Copy link
Collaborator

Some options:

  1. CE_centrality and HE_centrality
  2. CEC and HEC
  3. clique_eigenvector_centrality and H_eigenvector_centrality
  4. CM_eigenvector_centrality and H_eigenvector_centrality

I don't like 2, not explicit enough. 3 and 4 make it explicit that they are centralities of the type "eigenvector".
I would maybe go with 3 but no strong opinion. 1 and 4 are good with me too.

@iaciac
Copy link
Collaborator

iaciac commented Apr 3, 2023

I would go for (3) in the spirit of keeping it as informative as possible. The others are good as well, probably I would just avoid the (2).

@leotrs
Copy link
Collaborator

leotrs commented Apr 4, 2023

I'd suggest we shorten centrality to cent.

@nwlandry nwlandry linked a pull request Apr 5, 2023 that will close this issue
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 a pull request may close this issue.

4 participants