BinomialDistributionParameter Constructor (String, Int32, Double)

Solver Foundation 3.0

[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 BinomialDistributionParameter(
	string name,
	int numberOfTrials,
	double successProbability


Type: System.String
A unique name for the parameter. If the value is null, a unique name is generated.
Type: System.Int32
The number of trials of the distribution.
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.