GeometricDistributionParameter Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
A random parameter with geometric distribution.
Microsoft.SolverFoundation.Services.Term
Microsoft.SolverFoundation.Services.RandomParameter
Microsoft.SolverFoundation.Services.GeometricDistributionParameter
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
The GeometricDistributionParameter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GeometricDistributionParameter(String) | Creates a non-indexed geometric distribution parameter. Initializes a new instance of the GeometricDistributionParameter class. |
![]() | GeometricDistributionParameter(String, Set()) | Creates a non-indexed geometric distribution parameter. Initializes a new instance of the GeometricDistributionParameter class. |
![]() | GeometricDistributionParameter(String, Double) | Creates a non-indexed geometric distribution parameter. Initializes a new instance of the GeometricDistributionParameter class. |
| Name | Description | |
|---|---|---|
![]() | Description | Gets or sets a description of a parameter object. (Inherited from RandomParameter.) |
![]() | IndexSets | Gets the index sets for a parameter object. (Inherited from RandomParameter.) |
![]() | Item | Returns the random parameter specified by the indexes. (Inherited from RandomParameter.) |
![]() | Name | Gets the name of a parameter. (Inherited from RandomParameter.) |
| Name | Description | |
|---|---|---|
![]() | DataBind | Binds the data to the solver context. (Inherited from RandomParameter.) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetIndexFieldGetters(Of T) | Creates get accessors for each index. (Inherited from RandomParameter.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetBinding(Of T)(IEnumerable(Of T), String) | Binds the parameter to data. |
![]() | SetBinding(Of T)(IEnumerable(Of T), String, String()) | Binds the parameter to data. |
![]() | SetIndexSet | Returns the specified index set. (Inherited from RandomParameter.) |
![]() | ToString | Converts a parameter to its equivalent string representation. (Inherited from RandomParameter.) |
![]() | ToString(String, IFormatProvider) | Converts a term to its equivalent string representation. (Inherited from Term.) |
![]() | VerifyModelNotFrozen | Verifies that the associated model is not frozen. (Inherited from RandomParameter.) |
A geometric distribution is a discrete random distribution defined by a success probability parameter. The distribution describes a process where independent Bernoulli trials are taken with the given success probability. The probability distribution is of the number Y = X - 1 of Bernoulli trial failures before the first success, supported on the set { 0, 1, 2, 3, ... }. Note that this is different from an alternate convention which defines the distribution as the first successful trial supported on the set {1, 2, 3, ... }.
