BinomialDistributionParameter Constructor (String, array<Set[])
[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)
Syntax
'Declaration
Public Sub New ( _
name As String, _
ParamArray indexSets As Set() _
)
public BinomialDistributionParameter(
string name,
params Set[] indexSets
)
public:
BinomialDistributionParameter(
String^ name,
... array<Set^>^ indexSets
)
new :
name:string *
indexSets:Set[] -> BinomialDistributionParameter
public function BinomialDistributionParameter(
name : String,
... indexSets : Set[]
)
Parameters
- 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.
- indexSets
Type: array<Microsoft.SolverFoundation.Services.Set[]
The index sets to use. Omit to create a scalar parameter.
Remarks
If the case of numberOfTrials * min(successProbability, 1 - successProbability) >= 10 the distribution cannot be sampled with Latin hypercube method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BinomialDistributionParameter Class