TSCompute_Itakura_Parallelogram_Constraint_Dist function

The TSCompute_Itakura_Parallelogram_Constraint_Dist function calculates a similarity score for two time series sequences with the Itakura Parallelogram constraint applied to the distance calculation.

Syntax

TSCompute_Itakura_Parallelogram_Constraint_Dist (
                 sequence1              list,
                 sequence2              list,
                 mconstraint_horizontal DOUBLE PRECISION,
                 mconstraint_vertical   DOUBLE PRECISION) 
RETURNS DOUBLE PRECISION
sequence1
A list of values that is returned by the ValueAsCollection or TSGetValueList function.
sequence2
A list of values that is returned by the ValueAsCollection or TSGetValueList function.
mconstraint_horizontal
A number that represents the mConstraint horizontal values that define a parallelogram-shaped region to restrict the DTW distance calculation.
mconstraint_vertical
A number that represents the mConstraint vertical values that define a parallelogram-shaped region to restrict the DTW distance calculation.

Usage

Run the TSCompute_Itakura_Parallelogram_Constraint_Dist function to calculate the distance between two time series sequences with the Itakura Parallelogram constraint. The length of the sequences must be the same. See Dynamic time warping.

Returns

A number that represents the similarity distance between two sequences.