Export (0) Print
Expand All

DiscreteUniformDistributionParameter 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.]

A random parameter with a discrete uniform distribution.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public sealed class DiscreteUniformDistributionParameter : UniformDistributionParameter

The DiscreteUniformDistributionParameter type exposes the following members.

  NameDescription
Public methodDiscreteUniformDistributionParameter(String)Creates a new discrete uniform distribution. Initializes a new instance of the DiscreteUniformDistributionParameter class.
Public methodDiscreteUniformDistributionParameter(String, Set[])Creates a new discrete uniform distribution. Initializes a new instance of the DiscreteUniformDistributionParameter class.
Public methodDiscreteUniformDistributionParameter(String, Double, Double)Creates a new discrete uniform distribution. Initializes a new instance of the DiscreteUniformDistributionParameter class.
Public methodDiscreteUniformDistributionParameter(String, Int32, Int32)Creates a new discrete uniform distribution. Initializes a new instance of the DiscreteUniformDistributionParameter class.
Top

  NameDescription
Public propertyDescriptionGets or sets a description of a parameter object. (Inherited from RandomParameter.)
Public propertyIndexSetsGets the index sets for a parameter object. (Inherited from RandomParameter.)
Public propertyItemReturns the random parameter specified by the indexes. (Inherited from RandomParameter.)
Public propertyNameGets the name of a parameter. (Inherited from RandomParameter.)
Top

  NameDescription
Protected methodDataBindBinds the data to the solver context. (Inherited from RandomParameter.)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Protected methodGetIndexFieldGetters<T>Creates get accessors for each index. (Inherited from RandomParameter.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBinding<T>(IEnumerable<T>, String, String)Binds the parameter to data. (Inherited from UniformDistributionParameter.)
Public methodSetBinding<T>(IEnumerable<T>, String, String, String[])Binds the parameter to data using the specified properties. (Inherited from UniformDistributionParameter.)
Public methodSetIndexSetReturns the specified index set. (Inherited from RandomParameter.)
Public methodToString()Converts a parameter to its equivalent string representation. (Inherited from RandomParameter.)
Public methodToString(String, IFormatProvider)Converts a term to its equivalent string representation. (Inherited from Term.)
Protected methodVerifyModelNotFrozenVerifies that the associated model is not frozen. (Inherited from RandomParameter.)
Top

A discrete uniform distribution is defined by an upper and lower bound. The integer values within the (closed) interval occur with equal probability. The upper and lower bounds must be finite.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft