Weighted ID number

Share:

Description

This method calculates the weighted ID number.

Usage

1
weightedID(g, dsc=NULL)

Arguments

g

a graph as a graphNEL object.

dsc

the distance-sum-connectivity matrix of g. Will be automatically calculated if not supplied.

Value

The result is a list of two floating point numbers, the weighted ID number (WID) and the self-returning ID number (SID). The former is based on the sum of all walks weighted according to vertex distance degrees. The latter is limited to self-returning walks.

Author(s)

Michael Schutte

References

K. Szymanski, W. Mueller, J. Knop, and N. Trinajsti\'c. On the Identification Numbers for Chemical Structures. International Journal of Quantum Chemistry, 30(S20):173-183, 1986

Examples

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

weightedID(g)

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