powered by
This weight function returns the inverse of the geometric average of the node degrees of an edge.
weiGeo(a, b)
The weight uses the geometric average of the node degrees of an edge.
node degree of one end of an edge
node degree of another end of an edge
# For an edge where one end has a node degree of 5 # another end has a node degree of 6 weiGeo(6, 5)
Run the code above in your browser using DataLab