1 package at
.mus
.recognition
.dtw
;
3 import at
.mus
.recognition
.Template
;
5 public class TemplateDTW
extends Template
{
7 public TemplateDTW(String name
, float[][] points
) {
9 this.points
= new Acceleration
[points
.length
];
10 for (int i
= 0; i
< points
.length
; i
++)
11 this.points
[i
] = new Acceleration((float)points
[i
][0], (float)points
[i
][1], (float)points
[i
][2]);