Sage Modeling and Simulation Library

IDoubleDistribution Members

The IDoubleDistribution type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetNext
Returns the next double in the distribution.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValueWithCumulativeProbability
Gets the Y (distribution) value with the specified X (cumulative probability) value. For example, if the caller wishes to know what Y value will, with 90% certainty, always be greater than or equal to a value returned from the distribution, he would ask for GetValueWithCumulativeProbability(0.90);

Note: The median value of the distribution will be GetValueWithCumulativeProbability(0.50);

Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method SetCDFInterval
Sets the interval on which the CDF is queried for X. The RNG internally generates a number 'x' on (0..1), and CDF(x) is the output random number on the distribution. For the purpose of generating a schedule, running monte-carlo simulations of schedules and other related tasks, we may want to generate randoms on just a portion of that CDF, say instead of (0..1), perhaps (0..0.95), or if we want the mean value, we would use an interval of (0.5,0.5).
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)