Learn R Programming

QuACN (version 1.8.0)

informationLayerIndex: Information layer index

Description

This method calculates the information layer index of a graph.

Usage

informationLayerIndex(g, dist=NULL, layer=NULL)

Arguments

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.

Value

The information layer index as a double-precision floating point value.

References

E. V. Konstantinova and A. A. Paleev, Sensitivity of topological indices of polycyclic graphs, Vychisl. Sistemy, 136:38-48, 1990

Examples

Run this code
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)

Run the code above in your browser using DataLab