...

This algorithm only accepts networks with undirected edges. It cannot work with directed edges. This algorithm also treats unweighted networks as networks whose edge weights are all 1.

Wiki MarkupFor each node _*node*\*[i*\*]*_, this algorithm calculates the total node degree (_*degree(node*\*[i*\*])*_) and the total node strength (_*strength(node*\*[i*\*])*_), where:

- Wiki Markup_
*degree(node*\*[i*\*])*_ = total degree of _*node*\*[i*\*]*_ = number of edges _*node*\*[i*\*]*_ is connected to Wiki Markup - _
*strength(node*\*[i*\*])*_ = the sum of the weights of all of the edges _*node*\*[i*\*]*_ is connected to

Given the nature of the node strength, if the input network is unweighted, the node degree will always equal the node strength for all nodes.

...