BinomialDistributionParameter Constructor (String, Int32, Double)

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

Creates a non-indexed binomial distribution parameter. Initializes a new instance of the BinomialDistributionParameter class.

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


Public Sub New ( _
    name As String, _
    numberOfTrials As Integer, _
    successProbability As Double _
public BinomialDistributionParameter(
    string name,
    int numberOfTrials,
    double successProbability
    String^ name, 
    int numberOfTrials, 
    double successProbability
new : 
        name:string * 
        numberOfTrials:int * 
        successProbability:float -> BinomialDistributionParameter
public function BinomialDistributionParameter(
    name : String, 
    numberOfTrials : int, 
    successProbability : double


  • name
    Type: System.String
    A unique name for the parameter. If the value is nulla null reference (Nothing in Visual Basic), a unique name is generated.
  • numberOfTrials
    Type: System.Int32
    The number of trials of the distribution.
  • successProbability
    Type: System.Double
    The success probability of the distribution.


If the case of numberOfTrials * min(successProbability, 1 - successProbability) >= 10 the distribution cannot be sampled with Latin hypercube method.

.NET Framework Security

See Also


BinomialDistributionParameter Class

BinomialDistributionParameter Overload

Microsoft.SolverFoundation.Services Namespace