Skip to main content
. 2019 Dec 30;22(1):52. doi: 10.3390/e22010052
Algorithm 1. EMI.
Input:
   G=(V,E,W) with n=|V|, m=|E|, q=|W|
Output:
   Ranked nodes with overall importance value
Begin algorithm
1:  If G is directed or weighted:
2:  For node vi in V
3:    compute structural entropy centrality Siin, Siout, and Si
4:    compute interactive entropy centrality Iiin, Iiout, and Ii
5:    compute mutual power MIi
6:    compute overall importance Ki
7:  Else
8:    For node vi in V
9:        compute structural entropy centrality Si
10:      compute mutual power MIi
11:      compute overall importance Ki
12:  End for
13:  rank nodes based on key values
End algorithm