Identifying the subnetworks of a product distribution network using Tarjan's strongly connected components algorithm.
N - number of points of distribution
M - number of connections in the network
origin destination - products can be transported from origin to destination
R - number of subnetworks
L - number of connections between subnetworks
origin destination