RapidLib  v2.2.0
A simple library for interactive machine learning
fastDTW< T > Class Template Reference

#include <fastDTW.h>

Collaboration diagram for fastDTW< T >:
Collaboration graph

Public Member Functions

 fastDTW ()
 
 ~fastDTW ()
 

Static Public Member Functions

static T getCost (const std::vector< std::vector< T >> &seriesX, const std::vector< std::vector< T > > &seriesY, int searchRadius)
 

Detailed Description

template<typename T>
class fastDTW< T >

Class for performing an fast dynamic time warping between two time series

Constructor & Destructor Documentation

◆ fastDTW()

template<typename T >
fastDTW< T >::fastDTW

◆ ~fastDTW()

template<typename T >
fastDTW< T >::~fastDTW

Member Function Documentation

◆ getCost()

template<typename T >
T fastDTW< T >::getCost ( const std::vector< std::vector< T >> &  seriesX,
const std::vector< std::vector< T > > &  seriesY,
int  searchRadius 
)
static

Returns just the cost of warping one series into a second.

Parameters
seriesXtime series X
seriesYtime series Y
searchRadiussearch radius (usually 1)
Returns
cost to warp between series

The documentation for this class was generated from the following files: