Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

QuACN (version 1.8.0)

bonchev3: Mean information content of the distance equalities

Description

This method calculates the mean information content of the distance equalities.

Usage

bonchev3(g, dist=NULL)

Arguments

g
a graph as a graphNEL object.
dist
the distance matrix of the graph. Will be calculated automatically if not supplied.

Value

The mean information content of the distance equalities I^E_D(G) as a double-precision floating point value.

References

D. Bonchev and N. Trinajstic, Information theory, distance matrix and molecular branching, J. Chem. Phys., 67:4517-4533, 1977

Examples

Run this code
set.seed(987)
g <- randomEGraph(as.character(1:10), 0.3)

dist <- distanceMatrix(g)

bonchev3(g, dist)

Run the code above in your browser using DataLab