RandomParameter Class
Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a group of terms that take stochastic values.
System.Object
Microsoft.SolverFoundation.Services.Term
Microsoft.SolverFoundation.Services.RandomParameter
Microsoft.SolverFoundation.Services.BinomialDistributionParameter
Microsoft.SolverFoundation.Services.ExponentialDistributionParameter
Microsoft.SolverFoundation.Services.GeometricDistributionParameter
Microsoft.SolverFoundation.Services.LogNormalDistributionParameter
Microsoft.SolverFoundation.Services.NormalDistributionParameter
Microsoft.SolverFoundation.Services.ScenariosParameter
Microsoft.SolverFoundation.Services.UniformDistributionParameter
Microsoft.SolverFoundation.Services.Term
Microsoft.SolverFoundation.Services.RandomParameter
Microsoft.SolverFoundation.Services.BinomialDistributionParameter
Microsoft.SolverFoundation.Services.ExponentialDistributionParameter
Microsoft.SolverFoundation.Services.GeometricDistributionParameter
Microsoft.SolverFoundation.Services.LogNormalDistributionParameter
Microsoft.SolverFoundation.Services.NormalDistributionParameter
Microsoft.SolverFoundation.Services.ScenariosParameter
Microsoft.SolverFoundation.Services.UniformDistributionParameter
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
The RandomParameter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RandomParameter(String) | Initializes a new instance of the RandomParameter class. |
![]() | RandomParameter(String, Set()) | Initializes a new instance of the RandomParameter class with the specified index sets. |
| Name | Description | |
|---|---|---|
![]() | Description | Gets or sets a description of a parameter object. |
![]() | IndexSets | Gets the index sets for a parameter object. |
![]() | Item | Returns the random parameter specified by the indexes. |
![]() | Name | Gets the name of a parameter. |
| Name | Description | |
|---|---|---|
![]() | DataBind | Binds the data to the solver context. |
![]() | 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.) |
![]() ![]() | GetIndexes(Of T) | Returns the indexes from a parameter object. |
![]() | GetIndexFieldGetters(Of T) | Creates get accessors for each index. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetIndexSet | Returns the specified index set. |
![]() | ToString | Converts a parameter to its equivalent string representation. (Overrides Object.ToString.) |
![]() | ToString(String, IFormatProvider) | Converts a term to its equivalent string representation. (Inherited from Term.) |
![]() | VerifyModelNotFrozen | Verifies that the associated model is not frozen. |
Random parameters are used to model randomness in input data. Random parameters can be discrete or continuous, and can be used where non-random parameters or constants would normally be used in constraints. The RandomParameter class is the base class for a number of commonly used random distributions, including uniform, normal, and log normal. ScenariosParameter is a special type of random parameter, for which each scenario contains a value and a probability.
Show:
