DTWDataVector
class DTWDataVector{ String name; float[] values; }
name |
Template or observation name |
Method to set: void setName( String newName ); |
|
Method to get: String getName( ); |
|
values |
Array containing the template or observation |
Method to set: void setValues( float[] newValues ); |
|
Method to get: float[] getValues( ); |
DTWOneResult
class DTWOneResult{ int tIndex; float dtwDistance; int[][] warpingPath; }
tIndex |
Index of best matching template returned by algorithm run |
Method to set: void setTIndex( int newValue ); |
|
Method to get: int getTIndex( ); |
|
dtwDistance |
DTW distance for the best matching template |
Method to set: void setDtwDistance( float newValue ); |
|
Method to get: float getDtwDistance( ); |
|
warpingPath |
DTW Warping path for the result. |
Method to set: void setWarpingPath( int[][] newPath ); |
|
Method to get: int[][] getWarpingPath( ); |
DTWTemplateListItem
class DTWTemplateListItem{ String name; int tIndex; }
name |
Template name |
Method to set: void setName( String newName ); |
|
Method to get: String getName( ); |
|
tIndex |
Unique index of template in DLL |
Method to set: void setTIndex( int newValue ); |
|
Method to get: int getTIndex( ); |
class DTWParameters{ int dmetrics; int wwidth; int sconstraint; int seoffset; final static int EuclidianDistanceMetrics = 0; final static int DerivativeDistanceMetrics = 1; final static int NoWarpingWindow = MAX_INT; }
dmetrics |
Which distance metrics is to be used |
EuclidianDistanceMetrics = 0 (as defined in constant) | |
DerivativeDistanceMetrics = 1 (as defined in constant) | |
Method to set: void setDmetrics( int newValue ); |
|
Method to get: int getDmetrics( ); |
|
wwidth |
Width of the warping window |
INT_MAX = no warping window | |
Method to set: void setWwidth( int newValue ); |
|
Method to get: int getWwidth( ); |
|
sconstraint |
Reserved for future use |
Method to set: void setSconstraint( int newValue ); |
|
Method to get: int getSconstraint( ); |
|
seoffset |
0 = Fixed start and end point |
>0 = Allowable start and end point offset | |
Method to set: void setSeoffset( int newValue ); |
|
Method to get: int getSeoffset( ); |