MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions    mlibSignalDTWVectorInitS16(3MLIB)



NAME
     mlibSignalDTWVectorInitS16  -  initialization  for  vector
     data

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibSignalDTWVectorInitS16(void *state,
          const mlibs16 **dref, mlibs32 lref, mlibs32 ndata,
          mlibs32 dtype, mlibs32 sref, mlibs32 delta,
          mlibs32 local, mlibs32 slope);


DESCRIPTION
     The mlibSignalDTWVectorInitS16() function initializes  the
     internal  state  structure for dynamic time warping (DTW) of
     vector data.


     The init function performs internal state structure  alloca-
     tion  and  global initialization. Per DTW function call ini-
     tialization is done in DTW function, so  the  same  internal
     state  structure  can  be  reused  for multiple DTW function
     calls.

PARAMETERS
     The function takes the following arguments:

     dref     The reference data array.


     lref     The length of the reference data array.


     ndata    The length of each data vector.


     dtype    The type of distance metric between  data  vectors.
              MLIBDTWL1NORM  for  L1 norm of difference (sum of
              absolute difference). MLIBDTWL2NORM for  L2  norm
              of difference (Euclidean distance).


     sref     The scaling factor of  the  reference  data  array,
              where    actualdata    =    inputdata   *   2**(-
              scalingfactor).


     delta    The delta in the endpoint constraints.





SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions    mlibSignalDTWVectorInitS16(3MLIB)



     local    The  type  of  the  local  continuity  constraints.
              MLIBDTWITAKURA for Itakura type constraints.


     slope    The type of the slope weighting. MLIBDTWNONE  for
              no slope weighting.


     state    Pointer to the internal state structure.


RETURN VALUES
     The function returns MLIBSUCES if  successful.  Otherwise
     it returns MLIBFAILURE.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     mlibSignalDTWVectorInitS16(3MLIB),
     mlibSignalDTWVectorS16(3MLIB),
     mlibSignalDTWVectorPathS16(3MLIB),
     mlibSignalDTWVectorFreeS16(3MLIB), attributes(5)




















SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™