Scenario Constructor

Solver Foundation 3.0

[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 Scenario class. Creates a new instance, using the provided probability and value.

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

public Scenario(
	Rational probability,
	Rational value
)

Parameters

probability
Type: Microsoft.SolverFoundation.Common.Rational
The probability.
value
Type: Microsoft.SolverFoundation.Common.Rational
The value.

Show: