Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.utils.random_sequence.cumulative_distribution

cumulative_distribution(distribution)[source]

Return normalized cumulative distribution from discrete distribution.