pub struct DTWConfig {
pub window_type: DTWWindowType,
pub distance_metric: DTWDistanceMetric,
pub step_pattern: DTWStepPattern,
pub normalize: bool,
}Expand description
DTW distance computation configuration DTWConfig
Fields§
§window_type: DTWWindowTypeWindow constraint for DTW alignment
distance_metric: DTWDistanceMetricDistance metric for individual points
step_pattern: DTWStepPatternStep pattern for DTW
normalize: boolWhether to normalize by path length
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DTWConfig
impl RefUnwindSafe for DTWConfig
impl Send for DTWConfig
impl Sync for DTWConfig
impl Unpin for DTWConfig
impl UnwindSafe for DTWConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more