complexityIndexB: The complexity index B

Description Usage Arguments Value Author(s) References Examples

View source: R/complexityIndexB.R

Description

This method calcualtes the complexity index B of a given graph

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.

deg

the degree of each node

Value

This returns calcualtes the complexity index B.

Author(s)

Laurin Mueller

References

D. Bonchev and D. H. Rouvray, Complexity in Chemistry, Biology, and Ecology, ser. Mathematical and Computational Chemistry. Springer, 2005, New York, NY, USA.

Examples

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

complexityIndexB(g)

QuACN documentation built on May 2, 2019, 5:46 p.m.