mtk_run: Executes Objects Methods

This primitive allows the user to execute a method from a MTKObject.

Usage: mtk_run($<$mtk_object_name$>$, " $<$method_name$>$" [, $<$args_list$>$] )

where $<$mtk_object_name$>$ is the name given to the MTKObject variable, by the user, in the Declaration section; "$<$method_name$>$" (must be between quote marks!) is the name of the method to be executed; and [, $<$args_list$>$] is the set of parameters taken by the method.

Example: Training the HMM

Events=
event = event( TIME )
condition = ( TRUE )
action = 
{    
    ...
    mtk_run( Predictor, "training", TRAINING_ITERATIONS, TRACE_OBSERVATIONS );
    ...
};



Guilherme Dutra Gonzaga Jaime 2010-10-27