RecourseDecision Constructor (Domain, String, array<Set>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the RecourseDecision class. Creates an indexed recourse decision.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
domain As Domain, _
name As String, _
ParamArray indexSets As Set() _
)
public RecourseDecision(
Domain domain,
string name,
params Set[] indexSets
)
public:
RecourseDecision(
Domain^ domain,
String^ name,
... array<Set^>^ indexSets
)
new :
domain:Domain *
name:string *
indexSets:Set[] -> RecourseDecision
public function RecourseDecision(
domain : Domain,
name : String,
... indexSets : Set[]
)
Parameters
- domain
Type: Microsoft.SolverFoundation.Services.Domain
The set of values that each element of the decision can take, such as th set of real numbers.
- name
Type: System.String
A unique name for the decision.
- indexSets
Type: array<Microsoft.SolverFoundation.Services.Set>
The index sets to use.
.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.