ParamBoundsValues Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Properties == | == Properties == | ||
*Upper (as '' | *Upper (as ''double'') {{APIComment|Returns the upper value}} | ||
*Lower (as '' | *Lower (as ''double'') {{APIComment|Returns the lower value}} | ||
*ParamName (as '' | *ParamName (as ''string'') {{APIComment|Returns the parameter name}} | ||
== Usage Example == | == Usage Example == |
Revision as of 23:58, 11 April 2014
Stores the confidence bounds on the model parameters. Use the SetConfidenceLevel method to specify the confidence bound settings.
Properties
- Upper (as double) Returns the upper value
- Lower (as double) Returns the lower value
- ParamName (as string) Returns the parameter name
Usage Example
'Declare a new repository connection class. Private WithEvents MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") 'Get the list of Projects in the connected repository. Dim ListOfModels() As NameIdPair ListOfModels = MyRepository.GetAllModelsInfo() 'Select the ID of the model and retrieve it. Dim AModel as cModel AModel = MyRepository.GetModel(ListOfModels(0).ID) 'Get the list of parameter bounds. Dim ListOfBounds as List(Of ParamBoundsValues) ListOfBounds = AModel.Bounds_Parameters() 'Get the Lower Bound result. In this example, from the first parameter. Dim LowerBoundValue as Double LowerBoundValue = ListOfBounds(0).Lower