informationBondIndex: Information bond index

Description Usage Arguments Value Author(s) References Examples

View source: R/informationBondIndex.R

Description

This method calculates the information bond index.

Usage

1

Arguments

g

a graph as a graphNEL object. Each edge must have a "bond" data attribute containing one of the values 1 (single bond), 2 (double bond), 3 (triple bond) or 1.5 (aromatic bond).

Value

The return value is the information bond index of the specified input graph. This measure is based on edge weights which are interpreted as the bond multiplicity values.

Author(s)

Michael Schutte

References

Dosmorov, S.V. Generation of Homogeneous Reaction Mechanism. Kinetics and Catalysis, 1982

Examples

1
2
3
4
5
6
7
set.seed(987)
g <- randomEGraph(LETTERS[1:10], 0.3)
edgeDataDefaults(g, "bond") <- 1
edgeData(g, "E", "H", "bond") <- 2
edgeData(g, "I", "J", "bond") <- 2

informationBondIndex(g)

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