fuzzy_d_squared: Compute the squared distance between two fuzzy numbers

View source: R/fuzzy_operations.R

fuzzy_d_squaredR Documentation

Compute the squared distance between two fuzzy numbers

Description

Calculates the squared distance between two triangular fuzzy numbers using Diamond's metric.

Usage

fuzzy_d_squared(X, Y)

Arguments

X

List. First triangular fuzzy number.

Y

List. Second triangular fuzzy number.

Value

Numeric. The squared distance between X and Y.

Examples

X <- list(l = 1, x = 2, r = 3)
Y <- list(l = 2, x = 3, r = 4)
fuzzy_d_squared(X, Y)

flex documentation built on Sept. 2, 2025, 9:09 a.m.

Related to fuzzy_d_squared in flex...