Raw File
Tip revision: d51529a8ee2827cd8c1bd7c4a9e0265dd0cc72cf authored by Toni Giorgino on 19 September 2022, 16:36:11 UTC
version 1.23-1
Tip revision: d51529a
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/countPaths.R
\title{Count the number of warping paths consistent with the constraints.}
countPaths(d, debug = FALSE)
\item{d}{an object of class \code{dtw}}

\item{debug}{return an intermediate result}
The number of paths.
Count how many possible warping paths exist in the alignment problem passed
as an argument. The object passed as an argument is used to look up the
problem parameters such as the used step pattern, windowing, open ends, and
so on. The actual alignment is ignored.
Note that the number of paths grows exponentially with problems size. The
result may be approximate when windowing functions are used.

If \code{debug=TRUE}, a matrix used for the computation is
returned instead of the final result.

  ## Result: 126

Toni Giorgino
back to top