This primitive creates a MTK object. By declaring a MTKObject variable,
all you are doing is saying to TANGRAM-II that this variable will represent a
MTK object; but nothing is being said about the object's class (if it is a
hmm object, an intvalue object, etc.). To actually create the
object, you must use the mtk_create primitive.
Usage: mtk_create(mtk_object_name
, "
plugin_name
"[,
args_list
])
where mtk_object_name
is the name given to the MTKObject
variable, by the user, in the Declaration section; "
plugin_name
" (must be between quote marks!) is the plugin name
from which the object will be created, i.e., the plugin that this object
correspond to; and [,
args_list
] is the set of parameters taken by
the newly created object.
Example: Creating a HMM object
Declaration= Const ... Var MTKObject : Predictor; ... Events= event = event( TIME ) condition = ( TRUE ) action = { ... mtk_create( Predictor, "hmm", NUM_STATES, NUM_SYMBOLS ); ... };