symmetryIndex: Symmetry Index

Description Usage Arguments Value Author(s) References Examples

View source: R/symmetryIndex.R

Description

This method calculates the symmetry index.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. Will be automatically calculated if not supplied.

deg

the degree of each node of g. Will be automatically calculated if not supplied.

Value

This method returns the symmetry index for a graph as a double-precision floating point value.

Author(s)

Michael Schutte

References

A. Mowshowitz and M. Dehmer: A Symmetry Index for Graphs. Symmetry: Culture and Science, 21(4):321-327, 2010.

Examples

1
2
3
4
5
library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:9), 0.5)

symmetryIndex(g)

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