1mlib_SignalDTWKVectorInit_Sm1e6d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalDTWKVectorInit_S16(3MLIB)
2
3
4

NAME

6       mlib_SignalDTWKVectorInit_S16 - initialization for K-best paths of vec‐
7       tor data
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalDTWKVectorInit_S16(void *state,
14            const mlib_s16 **dref, mlib_s32 lref, mlib_s32 ndata,
15            mlib_s32 kbest, mlib_s32 dtype, mlib_s32 sref,
16            mlib_s32 delta, mlib_s32 local, mlib_s32 slope);
17
18

DESCRIPTION

20       The mlib_SignalDTWKVectorInit_S16() function initializes  the  internal
21       state structure for dynamic time warping (DTW) for K-best paths of vec‐
22       tor data.
23
24
25       The init function performs  internal  state  structure  allocation  and
26       global  initialization. Per DTW function call initialization is done in
27       DTW function, so the same internal state structure can  be  reused  for
28       multiple DTW function calls.
29

PARAMETERS

31       The function takes the following arguments:
32
33       dref     The reference data array.
34
35
36       lref     The length of the reference data array.
37
38
39       ndata    The length of each data vector.
40
41
42       kbest    The number of the best paths evaluated.
43
44
45       dtype    The   type   of   distance   metric   between   data  vectors.
46                MLIB_DTW_L1NORM for L1 norm of  difference  (sum  of  absolute
47                difference).   MLIB_DTW_L2NORM   for  L2  norm  of  difference
48                (Euclidean distance).
49
50
51       sref     The  scaling  factor  of  the  reference  data  array,   where
52                actual_data = input_data * 2**(-scaling_factor).
53
54
55       delta    The delta in the endpoint constraints.
56
57
58       local    The type of the local continuity constraints. MLIB_DTW_ITAKURA
59                for Itakura type constraints.
60
61
62       slope    The type of the slope weighting. MLIB_DTW_NONE  for  no  slope
63                weighting.
64
65
66       state    Pointer to the internal state structure.
67
68

RETURN VALUES

70       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
71       MLIB_FAILURE.
72

ATTRIBUTES

74       See attributes(5) for descriptions of the following attributes:
75
76
77
78
79       ┌─────────────────────────────┬─────────────────────────────┐
80       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
81       ├─────────────────────────────┼─────────────────────────────┤
82       │Interface Stability          │Committed                    │
83       ├─────────────────────────────┼─────────────────────────────┤
84       │MT-Level                     │MT-Safe                      │
85       └─────────────────────────────┴─────────────────────────────┘
86

SEE ALSO

88       mlib_SignalDTWKVectorInit_S16(3MLIB), mlib_SignalDTWKVector_S16(3MLIB),
89       mlib_SignalDTWKVectorPath_S16(3MLIB),            mlib_SignalDTWKVector‐
90       Free_S16(3MLIB), attributes(5)
91
92
93
94SunOS 5.11                        2 Mar 200m7lib_SignalDTWKVectorInit_S16(3MLIB)
Impressum