pub fn dynamic_time_warp<T, C: FiniteCost>(
left: &[T],
right: &[T],
local_cost: impl Fn(&T, &T) -> C,
policy: DtwPolicy<C>,
) -> Result<Alignment<C>, GraphError>Expand description
Aligns two sequences under a window, gap, boundary, and memory policy.