Package com.dtw

Examples of com.dtw.TimeWarpInfo


          final TimeSeries tsI = new TimeSeries(scaleArrayList(intQueryArrayList,scalepoints), false, false, ',');
          final TimeSeries tsJ = new TimeSeries(scaleArrayList(intComparisonArrayList,scalepoints), false, false, ',');
           
          DistanceFunction distFn = DistanceFunctionFactory.getDistFnByName("EuclideanDistance");     
     
          final TimeWarpInfo info = com.dtw.FastDTW.getWarpInfoBetween(tsI, tsJ, radius, distFn);
     
          return (double) info.getDistance();
      }catch (NullPointerException e){
          return 9999999;
      }
    }
View Full Code Here

TOP

Related Classes of com.dtw.TimeWarpInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.