This method calculates the prime ID number.
a graph as a graphNEL object.
the degree of each node of g. Will be automatically calculated if not supplied.
This method works like the connectivityID method, but it assigns distinct prime numbers to each different pair of vertex degrees associated with an edge.
M. Randic. Molecular ID numbers: By Design. Journal of Chemical Information and Computer Sciences, 26(3):134-136, 1986
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.