Scenario Constructor

[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)

Syntax

'Declaration
Public Sub New ( _
    probability As Rational, _
    value As Rational _
)
public Scenario(
    Rational probability,
    Rational value
)
public:
Scenario(
    Rational probability, 
    Rational value
)
new : 
        probability:Rational * 
        value:Rational -> Scenario
public function Scenario(
    probability : Rational, 
    value : Rational
)

Parameters

.NET Framework Security

See Also

Reference

Scenario Structure

Microsoft.SolverFoundation.Services Namespace