Description Usage Arguments Value Author(s) References Examples
View source: R/topologicalInfoContent.R
This method calculates the Topological Information Content.
1 | topologicalInfoContent(g, dist = NULL, deg = NULL)
|
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. |
This method returns the Topological Information Content.
Laurin Mueller <laurin@eigenlab.net>
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.
1 2 3 4 5 | library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)
topologicalInfoContent(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.