Description Usage Arguments Value Examples
Reachability of a supply network measures the probability that a source node (a producer) is connected to a target node through a path It is equal to the number of supply paths from the sources set S to sink set T, divided by the overall number of possible paths (|S| * |T|).
1 | reachability(g)
|
g |
igraph object. |
A numeric between 0 and 1.
1 2 3 4 5 6 | ## In a tree, reachability is equal to 1
library(igraph)
g = make_tree(10)
reachability(g)
## Theoretical 1 hub-centralized supply network
#TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.