efficiency: Efficiency complexity index

Description Usage Arguments Details Value Author(s) References Examples

View source: R/efficiency.R

Description

This method calculates the efficiency complexity measure.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. Will be calculated automatically if left empty.

Details

This method calculates the efficiency complexity measure.

Value

It returns the efficiency complexity measure as a double-precision floating point value.

Author(s)

Lavanya Sivakumar, Michael Schutte

References

J. Kim and T. Wilhelm. What is a complex graph? Physica A, 387:2637-2652, 2008

Examples

1
2
3
4
5
6
7
8
9
library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:10), 0.6)

efficiency(g)

# alternatively:
dist <- distanceMatrix(g)
efficiency(g, dist)

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