Randi\'c connectivity ID number

Share:

Description

This method calculates the Randi\'c connectivity ID number.

Usage

1

Arguments

g

a graph as a graphNEL object.

deg

the degree of each node of g. Will be automatically calculated if not supplied.

Value

The resulting floating point value is a weighted path sum which stresses local features and takes the vertex degree into account.

Author(s)

Michael Schutte

References

M. Randic. On Molecular Identification Numbers. Journal of Chemical Information and Computer Sciences, 24(3):164-175, 1984

Examples

1
2
3
4
set.seed(987)
g <- randomEGraph(LETTERS[1:10], 0.3)

connectivityID(g)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.