Export (0) Print
Expand All

PluginSolutionMapping.GetComponents Method

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the parts of a constraint, together with its indexes.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public override IEnumerable<int> GetComponents(
	Constraint constraint,
	Object[] indexes
)

Parameters

constraint
Type: Microsoft.SolverFoundation.Services.Constraint
The constraint.
indexes
Type: System.Object[]
The indexes that are associated with the constraint.

Return Value

Type: System.Collections.Generic.IEnumerable<Int32>
A collection of parts related to the constraint.

ExceptionCondition
NotSupportedException

The model is stochastic. Mapping of stochastic models is not supported.

ArgumentNullException

The constraint or indexes parameter is null.

The first call for a constraint to TryGetVid, GetIndexes, or GetComponents is resource-intensive.

Show:
© 2014 Microsoft