Initializes the distribution such that expectedTotal is equal to the expected sum of generated values after the given number of invocatiosn. Since most distributions have an element of randomness, these values are the expected values.
@param invocations
@param expectedTotal
@return A new distribution configured to match the expected total for the number of invocations.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.