Description Usage Arguments Value Author(s) References Examples

This method calculates the weighted ID number.

1 | ```
weightedID(g, dsc=NULL)
``` |

`g` |
a graph as a graphNEL object. |

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

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.

Michael Schutte

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.