Export (0) Print
Expand All

HybridLocalSearchModel.IGoalModel.IsGoal Method (Int32, IGoal%)

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 value that specifies whether a row index is a goal row, and returns the associated goal.

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

bool IGoalModel.IsGoal(
	int vid,
	out IGoal goal


Type: System.Int32
The index of the goal.
Type: Microsoft.SolverFoundation.Services.IGoal%
An output parameter that contains the IGoal that corresponds to the row index.

Return Value

Type: System.Boolean
true if the row index corresponds to a goal row; otherwise, false.


IGoalModel.IsGoal(Int32, IGoal)

© 2014 Microsoft