CModel.SetModel

From ReliaWiki
Revision as of 23:45, 19 September 2013 by Albert Szeto (talk | contribs)
Jump to navigation Jump to search



Method Syntax

SetModel ( ByVal ModelType As ModelTypeEnum, ByVal ParamArray ModelParams() As Double )
Sets a new model.

Usage Example

Declare the cModel class using an in-line parameter list.

       Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100)

Change the model type and parameters.

       newModel.SetModel(ModelTypeEnum.Lognormal, 2, 200)