SubmodelInstance Class

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

Defines a composite decision.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.SubmodelInstance

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

Syntax

'Declaration
Public NotInheritable Class SubmodelInstance
public sealed class SubmodelInstance
public ref class SubmodelInstance sealed
[<Sealed>]
type SubmodelInstance =  class end
public final class SubmodelInstance

The SubmodelInstance type exposes the following members.

Properties

  Name Description
Public property Decisions Gets a collection of decisions that are defined directly in a submodel instance.
Public property Item[Decision] Gets a decision in a submodel instance that corresponds to a decision that is defined in the same domain.
Public property Item[Parameter] Gets a parameter in a submodel instance that corresponds to a parameter that is defined in the same domain.
Public property Item[RandomParameter] Gets a random parameter in a submodel instance that corresponds to a random parameter that is defined in the same domain.
Public property Item[RecourseDecision] Gets a recourse decision in a submodel instance that corresponds to a recourse decision that is defined in the same domain.
Public property Item[SubmodelInstance] Gets a submodel instance that is a member of the current submodel instance that corresponds to a submodel instance that is defined in the same domain.
Public property Name Gets the name of a submodel instance.
Public property Parameters Gets a collection of parameters that are defined in a submodel instance.
Public property RandomParameters Gets a collection of random parameters that are defined in a submodel instance.
Public property RecourseDecisions Gets a collection of recourse decisions that are defined in a submodel instance.
Public property SubmodelInstances Gets a collection of submodel instances that are defined in a submodel instance.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDecision(Decision) Returns a decision in a submodel instance that corresponds to a decision that is defined in the same domain.
Public method GetDecision(RecourseDecision) Returns a corresponding recourse decision in a submodel instance based on a recourse decision defined in a domain.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetParameter(Parameter) Returns a parameter in a submodel instance that corresponds to a parameter that is defined in the same domain.
Public method GetParameter(RandomParameter) Returns a random parameter in a submodel instance that corresponds to a random parameter that is defined in the same domain.
Public method GetSubmodelInstance Gets a submodel instance that is a member of the current submodel instance that corresponds to a submodel instance that is defined in the same domain.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

A composite decision is a decision that is defined on a composite domain.

Thread Safety

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

See Also

Reference

Microsoft.SolverFoundation.Services Namespace