Learn R Programming

QuACN (version 1.8.0)

oneEdgeDeletedSubgraphComplexity: One-edge-deleted subgraph complexity measures

Description

This method calculates two indices based on one-edge-deleted subgraphs.

Usage

oneEdgeDeletedSubgraphComplexity(g, one.eds = NULL)

Arguments

g
a graph as a graphNEL object.
one.eds
the one-edge-deleted subgraphs of g as a list of adjacency matrices, as returned by edgeDeletedSubgraphs(g). If this parameter is omitted, the subgraphs will be calculated automatically.

Value

The results are returned in a list with two entries named C_1eST and C_1eSpec.

Details

This method calculates the one-edge-deleted subgraph complexity with respect to the different number of spanning trees (C_1eST) and spectra of the Laplacian and signless Laplacian matrix (C_1eSpec).

References

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

Examples

Run this code
library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:12), 0.5)

result <- oneEdgeDeletedSubgraphComplexity(g)
result$C_1eST
result$C_1eSpec

Run the code above in your browser using DataLab