PluginSolutionMapping.TryGetDecision 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 a decision.

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

public override bool TryGetDecision(
	int vid,
	out Decision decision,
	out Object[] indexes
)

Parameters

vid
Type: System.Int32
A row or variable index.
decision
Type: Microsoft.SolverFoundation.Services.Decision%
The decision that is associated with the row or variable index.
indexes
Type: System.Object[]%
The indexes that are related to the decision.

Return Value

Type: System.Boolean
true if the row or variable index is mapped to a decision; otherwise, false.

The caller must not change the indexes array.

Show: