This method calcualtes the complexity index B of a given graph
Usage
complexityIndexB(g, dist = NULL, deg = NULL)
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
References
D. Bonchev and D. H. Rouvray, Complexity in Chemistry, Biology, and Ecology, ser. Mathematical and Computational Chemistry. Springer, 2005, New York, NY, USA.