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 | |
---|---|---|
Decisions | Gets a collection of decisions that are defined directly in a submodel instance. | |
Item[Decision] | Gets a decision in a submodel instance that corresponds to a decision that is defined in the same domain. | |
Item[Parameter] | Gets a parameter in a submodel instance that corresponds to a parameter that is defined in the same domain. | |
Item[RandomParameter] | Gets a random parameter in a submodel instance that corresponds to a random parameter that is defined in the same domain. | |
Item[RecourseDecision] | Gets a recourse decision in a submodel instance that corresponds to a recourse decision that is defined in the same domain. | |
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. | |
Name | Gets the name of a submodel instance. | |
Parameters | Gets a collection of parameters that are defined in a submodel instance. | |
RandomParameters | Gets a collection of random parameters that are defined in a submodel instance. | |
RecourseDecisions | Gets a collection of recourse decisions that are defined in a submodel instance. | |
SubmodelInstances | Gets a collection of submodel instances that are defined in a submodel instance. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDecision(Decision) | Returns a decision in a submodel instance that corresponds to a decision that is defined in the same domain. | |
GetDecision(RecourseDecision) | Returns a corresponding recourse decision in a submodel instance based on a recourse decision defined in a domain. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetParameter(Parameter) | Returns a parameter in a submodel instance that corresponds to a parameter that is defined in the same domain. | |
GetParameter(RandomParameter) | Returns a random parameter in a submodel instance that corresponds to a random parameter that is defined in the same domain. | |
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. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.