metric.degree.entropy function

Degree Entropy

Degree Entropy

Calculate the degree entropy of a graph.

metric.degree.entropy(g)

Arguments

  • g: The input network.

Returns

A real constant.

Details

Calculates the degree entropy of graph g, i.e.

Entropy(g)=i=1nilog2(i) Entropy(g) = - \sum_{i=1}^{n} i*\log _2(i)

Examples

## Not run: x <- net.erdos.renyi.gnp(1000, 0.01) metric.degree.entropy(x) ## End(Not run)

References

Anand, Kartik, and Ginestra Bianconi. "Entropy measures for networks: Toward an information theory of complex topologies." Physical Review E 80, no. 4 (2009): 045102.

Author(s)

Xu Dong, Nazrul Shaikh.

  • Maintainer: Nazrul Shaikh
  • License: GPL (>= 2)
  • Last published: 2020-12-01

Useful links