% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fuzzy_distance.R
\name{fuzzy_distance}
\alias{fuzzy_distance}
\title{Compute Fuzzy Distance Between TFNs}
\usage{
fuzzy_distance(x, h, wc, ws)
}
\arguments{
\item{x}{A TFN matrix (observation).}

\item{h}{A TFN matrix (prototype).}

\item{wc}{Numeric. Weight for modal component.}

\item{ws}{Numeric. Weight for spread components.}
}
\value{
A numeric distance value.
}
\description{
Computes the distance between two triangular fuzzy
number (TFN) matrices using weighted Euclidean distance.
}
\details{
The distance accounts for differences in modal values
and spreads, controlled by weights wc and ws.
}
\keyword{internal}
