primeID: Prime ID number

Description Usage Arguments Value Author(s) References Examples

Description

This method calculates the prime ID number.

Usage

1
primeID(g, deg=NULL)

Arguments

g

a graph as a graphNEL object.

deg

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

Value

This method works like the connectivityID method, but it assigns distinct prime numbers to each different pair of vertex degrees associated with an edge.

Author(s)

Michael Schutte

References

M. Randic. Molecular ID numbers: By Design. Journal of Chemical Information and Computer Sciences, 26(3):134-136, 1986

Examples

1
2
3
4
set.seed(987)
g <- randomEGraph(LETTERS[1:10], 0.3)

primeID(g)


Search within the QuACN package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.