balabanID: Balaban ID number

Description Usage Arguments Value Author(s) References Examples

View source: R/balabanID.R

Description

This method calculates the Balaban ID number.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the pre-computed distance matrix of the graph. Will be calculated automatically if NULL.

Value

The return value is the Balaban ID number of the graph, a weighted path count based on the vertex distance degree.

Author(s)

Michael Schutte

References

A. T. Balaban. Numerical Modelling of Chemical Structures: Local Graph Invariants and Topological Indices. In Graph Theory and Topology in Chemistry, R. King and D. Rouvray, Eds., pp. 159-176, 1987

Examples

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

balabanID(g)

QuACN documentation built on May 2, 2019, 8:18 a.m.