Difference between revisions of "CModel Constructors"

From ReliaWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
Parameters
 
Parameters
 
:''ModelType'': The type of model (e.g., 2-parameter Weibull), specified with a [[ModelTypeEnum]] value.
 
:''ModelType'': The type of model (e.g., 2-parameter Weibull), specified with a [[ModelTypeEnum]] value.
:''ModelCategory'': The model category (e.g., reliability model), specified with a [[ModelCategoryEnum]] value.
+
:''ModelCategory'': The model category (e.g., reliability model), specified with a [[ModelCategoryEnum Enumeration|ModelCategoryEnum]] value.
 
:''ModelName'': The model name.
 
:''ModelName'': The model name.
 
:''ModelParams()'': An array of parameter values. <!--Need to create/link page explaining how the values should be ordered, depending on distribution.-->
 
:''ModelParams()'': An array of parameter values. <!--Need to create/link page explaining how the values should be ordered, depending on distribution.-->

Revision as of 22:52, 10 March 2014


Constructors for the cModel class.

Syntax

  • cModel() Creates an empty model (use SetModel method to set the model name, type, category and parameters).
  • cModel( ModelTypeAs ModelTypeEnum, ModelCategory As ModelCategoryEnum, ModelName As String,ParamArray ModelParams()As Double) Creates a new model using the provided model type, category, name and parameters.

Parameters

ModelType: The type of model (e.g., 2-parameter Weibull), specified with a ModelTypeEnum value.
ModelCategory: The model category (e.g., reliability model), specified with a ModelCategoryEnum value.
ModelName: The model name.
ModelParams(): An array of parameter values.