Add (Models)
Description
Create a new model by adding an element to the Models collection.
Syntax
someModels.Add(Name, Filename, ErrorFilename, InferType, RecommendType)
Parameter
Description
someModels
a Models collection.
Name
Optional. A string specifying a name for the new model. If no string or the empty string is given, a new name is generated.
FileName
Optional. If a string if given, the file will be loaded.
ErrorFilename
Optional. A string specifying an file in which to write error messages if file loading fails. By default, no error messages are written.
InferType
Optional. A INFERENUM specifying the type of inference to do on the model. By default, ine_Default, which is currently ine_CliqueTree.
RecommendType
Optional. A RECOMMENDENUM specifying the type of recommendations to do on the model. By default, recommendtype_Default.
Return Value
The Model object created.
Example
Applies To
Also See