metric.degree.entropy {fastnet} | R Documentation |
Calculate the degree entropy of a graph.
metric.degree.entropy(g)
g |
The input network. |
Calculates the degree entropy of graph g, i.e.
Entropy(g) = - \sum_{i=1}^{n} i*\log _2(i)
A real constant.
Xu Dong, Nazrul Shaikh.
Anand, Kartik, and Ginestra Bianconi. "Entropy measures for networks: Toward an information theory of complex topologies." Physical Review E 80, no. 4 (2009): 045102.
## Not run:
x <- net.erdos.renyi.gnp(1000, 0.01)
metric.degree.entropy(x)
## End(Not run)