Compute the diversity associated to a random walk following a path between the levels of a tripartite graph.
Useful links