Learn R Programming

QuACN (version 1.8.0)

topologicalInfoContent: Topological Information Conten

Description

This method calculates the Topological Information Content.

Usage

topologicalInfoContent(g, dist = NULL, deg = NULL)

Arguments

g
a graph as a graphNEL object.

dist
the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.

deg
the degree of each node of g.

Value

References

A. Mowshowitz, Entropy and the Complexity of the Graphs I: An Index of the Relative Complexity of a Graph, Bull. Math. Biophys., vol. 30, pp. 175-204, 1968. N. Rashevsky, Life, Information Theory, and Topology, Bull. Math. Biophys., vol. 17, pp. 229-235, 1955.

Examples

Run this code

library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

topologicalInfoContent(g)

Run the code above in your browser using DataLab