Export (0) Print
Expand All

Scenario Structure

Solver Foundation 3.0

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

Represents a probability/value pair.

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

public struct Scenario

The Scenario type exposes the following members.

  NameDescription
Public methodScenarioInitializes a new instance of the Scenario class. Creates a new instance, using the provided probability and value.
Top

  NameDescription
Public methodEqualsReturns a value that indicates whether a scenario object is equal to another object. (Overrides ValueType.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for a scenario object. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberIsValidScenarioValueReturns a value that indicates whether a value is valid for a scenario.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringConverts a scenario to its equivalent string representation. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityReturns a value that indicates whether two scenario objects are equal.
Public operatorStatic memberInequalityReturns a value that indicates whether two scenario objects are unequal.
Top

  NameDescription
Public fieldProbabilityRepresents the probability of getting a specific value.
Public fieldValueRepresents the value for the scenario.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft