BoundsValues Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Properties == | == Properties == | ||
*Upper (as ''double'') {{APIComment| | *Upper (as ''double'') {{APIComment|Gets the upper value.}} | ||
*Lower (as ''double'') {{APIComment| | *Lower (as ''double'') {{APIComment|Gets the lower value.}} | ||
== Usage Example == | == Usage Example == |
Revision as of 16:39, 11 March 2014
Stores the upper and lower confidence bounds estimated from a cModel object.
Properties
- Upper (as double) Gets the upper value.
- Lower (as double) Gets the lower value.
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 Bounds on reliability.
Dim ModelBoundsValue as BoundsValues ModelBoundsValue = AModel.Bounds_Reliability(100)
Get the Upper Bound result.
Dim UpperBoundValue as Double UpperBoundValue = ModelBoundsValue.Upper