The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnModelApplied


Unit: SDL_membl
Class: TMemBasedLearner
Declaration: property OnModelApplied: TOnMBLModelApplied;
TOnMBLModelApplied = procedure (Sender: TObject; Tag: integer; NearNix: TIntArray; NearNDist: TDoubleArray; errnum: integer) of object;

The event OnModelApplied is triggered when the method ApplyModel is finished. The parameter Tag is a user-defined integer number which has been provided by the user when calling ApplyModel. The parameters NearNix and NearNDist contain the indices of the nearest neighbors and their respective distances from the sensor input (see ApplyModel).

The length of these two array parameters is MBLMAXNEIGHBORS (even if there are less than MBLMAXNEIGHBORS objects in the ModelData, in which case the unused entries in NearNix are zero).


Last Update: 2023-Feb-06