BoundsValues Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|Global_Model|Global Model}}
{{Template:APIClass|cModel Class|cModel}}
{{Template:BoundsValues Class.Cmt}}
 
Contains the upper and lower confidence bounds estimated from a [[cModel Class|cModel]] object.
 
== Properties  ==
== Properties  ==
*'''[[BoundsValues.Upper|Upper]]''' {{APIComment|Returns the Upper value}}
*Upper (as ''double'') {{APIComment|Returns the Upper value}}
*'''[[BoundsValues.Lower|Lower]]''' {{APIComment|Returns the Lower value}}
*Lower (as ''double'') {{APIComment|Returns the Lower value}}


== Formatted Usage Example ==
== Usage Example ==
{{APIComment|Declare a new repository connection class.}}
{{APIComment|Declare a new repository connection class.}}
         Private WithEvents MyRepository As New Repository
         Private WithEvents MyRepository As New Repository

Revision as of 16:38, 11 March 2014



Contains the upper and lower confidence bounds estimated from a cModel object.

Properties

  • Upper (as double) Returns the Upper value
  • Lower (as double) Returns 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