Decision Constructor (Domain, String)
[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 Decision class.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
domain As Domain, _
name As String _
)
public Decision(
Domain domain,
string name
)
public:
Decision(
Domain^ domain,
String^ name
)
new :
domain:Domain *
name:string -> Decision
public function Decision(
domain : Domain,
name : String
)
Parameters
- domain
Type: Microsoft.SolverFoundation.Services.Domain
The set of values that each element of the decision can take, such as the set of real numbers.
- name
Type: System.String
A unique name for the decision. If the value is nulla null reference (Nothing in Visual Basic), a unique name is generated.
.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.