Description Usage Arguments Value Author(s) References Examples
View source: R/distSumConnectMatrix.R
This method calculates the distance-sum-connectivity matrix of a given graph.
1 |
g |
a graph as a graphNEL object. |
dist |
the pre-computed distance matrix of the graph. Will be calculated automatically if NULL. |
This method returns the distance-sum-connectivity matrix of a given graph. This is an adjacency matrix where each edge is weighted according to the reciprocal square root of the product of the adjacent vertices' distance sum.
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 5 | library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)
distSumConnectMatrix(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.