AttributeMultiDimSequenceseq=(AttributeMultiDimSequence)data.getOneDataObject().getAttribute(i);//need the corresponding attribute to get the sequence length
distanceParameters[th][i]=newParameterDTW(newdouble[seq.getNbTuples()][seq.getNbTuples()]);//special attribute for DTW distances (requires a matrix to work in)
AttributeSequenceseq=(AttributeSequence)data.getOneDataObject().getAttribute(i);//need the corresponding attribute to get the sequence length
distanceParameters[th][i]=newParameterDTW(newdouble[seq.getNbTuples()][seq.getNbTuples()]);//special attribute for DTW distances (requires a matrix to work in)