Description Usage Arguments Value Author(s) References Examples
View source: R/informationLayerIndex.R
This method calculates the information layer index of a graph.
1 | informationLayerIndex(g, dist=NULL, layer=NULL)
|
g |
a graph as a graphNEL object. |
dist |
the distance matrix of the graph. Will be calculated automatically if not supplied. |
layer |
the layer (sphere) matrix of the graph. Will be calculated automatically if not supplied. |
The information layer index as a double-precision floating point value.
Michael Schutte
E. V. Konstantinova and A. A. Paleev, Sensitivity of topological indices of polycyclic graphs, Vychisl. Sistemy, 136:38-48, 1990
1 2 3 4 5 6 7 | set.seed(987)
g <- randomEGraph(as.character(1:10), 0.3)
dist <- distanceMatrix(g)
layer <- layerMatrix(g, dist=dist)
informationLayerIndex(g, dist=dist, layer=layer)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.