The Balaban J index

Description

This method calculates the Balaban J index.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.

Details

This method calculates the Balaban J index.

Value

It returns the Balaban J index.

Author(s)

Laurin Mueller

References

A. T. Balaban. Highly discriminating distance-based topological index. Chem.Phys.Lett., 89:383-397, 1991

Examples

1
2
3
4
5
6
7
8
9
library(graph)
library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

#calculate Distance Matrix
mat.dist <- distanceMatrix(g)

balabanJ(g)

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