This method calculates the layer matrix, also known as sphere matrix, of a graph.
a graph as a graphNEL object.
the pre-computed distance matrix of the graph. Will be calculated automatically if NULL.
This method returns the layer (sphere) matrix of a graph. Each row of this matrix represents a vertex in the graph. The j-th column specifies the number of vertices in the j-sphere of this vertex.
E. V. Konstantinova, On some applications of information indices in chemical graph theory, in R. Ahlswede et al. (eds.), General Theory of Information Transfer and Combinatorics, LNCS, pp. 831-852, Springer, 2006
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.