Description Usage Arguments Value Examples
First, all shortest path lengths between producers and distributors are computed. Then, their inverse are computed. This index returns the mean of the inverses paths length (and not the inverse of the avgSPL).
1 | avgInvSPL(g)
|
g |
an igraph object; the supply network. |
a numeric between 0 and 1. 1 corresponds to all short-circuits network.
1 2 3 | library(igraph)
g = generateSupplyNet()
avgInvSPL(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.