A handle of
qsmm_t type refers to a multinode model.
qsmm_create creates a multinode model according to specified initial parameters and returns its handle.
qsmm_destroy destroys a multinode model specified by its handle.
A number of functions fetch initial model parameters after creating a model.
After creating an empty model, register instruction meta-classes and instruction class sets defining assembler instruction sets for model nodes and specifying instruction-centric and node-centric model behavior respectively. An instruction meta-class biuniquely corresponds to what we call an assembler instruction name. An instruction class belongs to an instruction meta-class, is a member of an instruction class set, and represents an assembler instruction with specific parameters. Every instruction meta-class and instruction class set needs providing an event handler function.
After registering one or more instruction class sets, create nodes belonging to node classes represented by those instruction class sets. The basic parameters of a node include its identifier and the number of internal states for holding a state model. The extended parameters of a node include its state transition matrix maintained by the environment state identification engine and its action emission matrix maintained by the instruction emitting engine. Both engines exist in the scope of model instance holding the parameters of an executed model. After creating the model instance, it may be necessary to override the default parameters of actors representing those engines.
To use model-specific parameters in the event handler functions of instruction meta-classes and instruction class sets called for multiple model handles, you can associate arbitrary pointers with the handle of a multinode model or its any node.
|• Creating a Handle|
|• Defining Instruction Meta-classes|
|• Defining Instruction Class Sets|
|• Node Parameters|
|• Creating Nodes|
|• Creating the Model Instance|
|• Associating Parameters with a Model|