UniformDistributionParameter Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a parameter for a continuous uniform random distribution.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.Term
    Microsoft.SolverFoundation.Services.RandomParameter
      Microsoft.SolverFoundation.Services.UniformDistributionParameter
        Microsoft.SolverFoundation.Services.DiscreteUniformDistributionParameter

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

Syntax

'Declaration
Public Class UniformDistributionParameter _
    Inherits RandomParameter
public class UniformDistributionParameter : RandomParameter
public ref class UniformDistributionParameter : public RandomParameter
type UniformDistributionParameter =  
    class
        inherit RandomParameter
    end
public class UniformDistributionParameter extends RandomParameter

The UniformDistributionParameter type exposes the following members.

Constructors

  Name Description
Public method UniformDistributionParameter(String) Initializes a new instance of the UniformDistributionParameter class. Creates a new continuous uniform distribution.
Public method UniformDistributionParameter(String, array<Set[]) Initializes a new instance of the UniformDistributionParameter class. Creates a new continuous uniform distribution using the specified index sets.
Protected method UniformDistributionParameter(String, UniformDistributionParameter) Initializes a new instance of the UniformDistributionParameter class. Creates a new continuous uniform distribution by copying an existing UniformDistributionParameter object.
Public method UniformDistributionParameter(String, Double, Double) Initializes a new instance of the UniformDistributionParameter class. Creates a new continuous uniform distribution using the specified upper and lower bounds

Top

Properties

  Name Description
Public property Description Gets or sets a description of a parameter object. (Inherited from RandomParameter.)
Public property IndexSets Gets the index sets for a parameter object. (Inherited from RandomParameter.)
Public property Item Returns the random parameter specified by the indexes. (Inherited from RandomParameter.)
Public property Name Gets the name of a parameter. (Inherited from RandomParameter.)

Top

Methods

  Name Description
Protected method DataBind Binds the data to the solver context. (Inherited from RandomParameter.)
Public method Equals 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 a hash function for a particular type. (Inherited from Object.)
Protected method GetIndexFieldGetters<T> Creates get accessors for each index. (Inherited from RandomParameter.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetBinding<T>(IEnumerable<T>, String, String) Binds the parameter to data.
Public method SetBinding<T>(IEnumerable<T>, String, String, array<String[]) Binds the parameter to data using the specified properties.
Public method SetIndexSet Returns the specified index set. (Inherited from RandomParameter.)
Public method ToString() Converts a parameter to its equivalent string representation. (Inherited from RandomParameter.)
Public method ToString(String, IFormatProvider) Converts a term to its equivalent string representation. (Inherited from Term.)
Protected method VerifyModelNotFrozen Verifies that the associated model is not frozen. (Inherited from RandomParameter.)

Top

Remarks

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

Thread Safety

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

See Also

Reference

Microsoft.SolverFoundation.Services Namespace