metric.degree.entropy {fastnet}R Documentation

Degree Entropy

Description

Calculate the degree entropy of a graph.

Usage

metric.degree.entropy(g)

Arguments

g

The input network.

Details

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

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

Value

A real constant.

Author(s)

Xu Dong, Nazrul Shaikh.

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.

Examples

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

[Package fastnet version 1.0.0 Index]