Tuples Constructor (String, IEnumerable<Domain>, IEnumerable<array<Rational[]>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates tuples that can be used as a random parameter for stochastic programming or for table constraints. Initializes a new instance of the Tuples class using the specified data.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
domains As IEnumerable(Of Domain), _
data As IEnumerable(Of Rational()) _
)
public Tuples(
string name,
IEnumerable<Domain> domains,
IEnumerable<Rational[]> data
)
public:
Tuples(
String^ name,
IEnumerable<Domain^>^ domains,
IEnumerable<array<Rational>^>^ data
)
new :
name:string *
domains:IEnumerable<Domain> *
data:IEnumerable<Rational[]> -> Tuples
public function Tuples(
name : String,
domains : IEnumerable<Domain>,
data : IEnumerable<Rational[]>
)
Parameters
- name
Type: System.String
The name of the Tuples object.
- domains
Type: System.Collections.Generic.IEnumerable<Domain>
The domains of the tuples.
- data
Type: System.Collections.Generic.IEnumerable<array<Rational[]>
The data for the Tuples object.
.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.