1 Introduction

Since Zadeh introduced fuzzy sets [25] as an extension of crisp sets, fuzzy numbers [16] have been widely used as a special case of fuzzy sets, usually expressed as trapezoidal [25] or “quasi-trapezoidal” [8, 16] fuzzy numbers, which are approximate evaluations given by experts when more correct values are not possible or not needed. Due to the fact that ranking fuzzy numbers is a required and complex task among several steps in the decision-making process, different methods have been investigated to rank fuzzy numbers [19]:

  1. (1)

    Methods based on defuzzification;

  2. (2)

    Methods based on the distance between fuzzy numbers;

  3. (3)

    Pairwise comparison methods.

Here, we focus on the widely used ranking method based on the distances between fuzzy numbers, in which such distances are classified into two main categories: (i) precise numerical distance [12, 20] and (ii) fuzzy distance [18, 23]. In the former, as the α-cuts of two comparative fuzzy numbers are intervals [4, 10, 11, 17], the classical interval distances are usually applied to the α-cuts of two fuzzy numbers to construct fuzzy distances [14]. Meanwhile, the latter uses the idea from Voxman [18] that fuzzy numerical values naturally lead to a family of pseudo-metrics of fuzzy numbers and introduces a fuzzy distance for fuzzy numbers in [18].

In this paper, we focus on defining numerical distances between fuzzy numbers by defining the novel interval distance between their corresponding α-cuts [4], and then ranking these fuzzy numbers by computing the distance between each fuzzy number and the selected ideal fuzzy number. Accordingly, the critical point is how to define the interval distance. In general, the classical distance between intervals is usually computed from their midpoints, lengths, or endpoints [5, 9, 10, 17], and might not correctly reflect the distance, as it should be determined by all points of two intervals. Therefore, considering that a continuous interval is a countably dense set of points, the distance between intervals should be calculated by taking the average of the distances between any two points belonging to the two corresponding intervals. To do so, we will use the concept of integral to obtain the integral expression of the distance between their corresponding α-cuts. Inspired by the outstanding work in [5, 10], a novel distance between fuzzy numbers is proposed and used for the ranking of fuzzy numbers. Therefore, the main contributions of this paper are summarized as follows:

  1. (1)

    A novel distance between intervals is defined by using the concept of integral, which considers all points in the two intervals, respectively. This means that the more information used to reflect the distance, the more correct and reliable the results will be.

  2. (2)

    Based on the previous interval distance and a reducing function with α as a variable, a series of new distances between fuzzy numbers is proposed, and their properties are proved. Then, a new method for ranking fuzzy numbers based on the novel fuzzy distance of each fuzzy number from the ideal fuzzy number is naturally introduced.

  3. (3)

    Several numerical analyses and comparisons are provided to demonstrate the advantages of the newly proposed interval distance, fuzzy distance, and ranking methods.

The rest of this work is organized as follows. Section 2 reviews the concepts related to distance and fuzzy numbers. Section 3 first introduces the distance between intervals by using the definition of integral, then proposes a series of distances between fuzzy numbers on the basis of the new proposed interval distance, and the general properties are demonstrated. Some numerical analysis will be shown in Sect. 4. Finally, Sect. 5 points out some conclusions.

2 Preliminaries

This section reviews some basic concepts, such as distance, L-R shaped fuzzy numbers, and α-cuts of a fuzzy number, which will help construct the concept of distances between fuzzy numbers.

Definition 1

[14] Let \({\textbf{X}}\) be a non-empty set and \({\textbf{R}}^{+}\) be the set of all non-negative real numbers. The function \(d: {\textbf{X}}\times {\textbf{X}}\rightarrow {\textbf{R}}^{+}\) is a distance if and only if d satisfies the following properties:

  1. (P1)

    Non-negativity: \(\forall \;{x},{y}\in {\textbf{X}},~ d\left( {x},{y}\right) \ge 0\) and \( d\left( {x},{x}\right) =0\);

  2. (P2)

    Symmetry: \(\forall {x},{y}\in {\textbf{X}},~ d\left( {x},{y}\right) =d\left( {y},{x}\right) \);

  3. (P3)

    Triangle inequality: \(\forall {x},{y},{z}\in {\textbf{X}},~d\left( {x},{z}\right) \le d\left( {x},{y}\right) + d\left( {y},{z}\right) \).

There are many definitions of fuzzy numbers, and a common method is used to restrict the shape of the L-R membership function [16], i.e., quasi-trapezoidal fuzzy numbers [8]. Thence, a L-R-shaped fuzzy number, \({\tilde{F}}\equiv \tilde{F}\left( a,b,c,d\right) \), has the membership given as a mapping \(\begin{aligned} \mu _{\tilde{F}}~:{\textbf{R}}&\rightarrow \left[ 0,1\right] \\ x&\mapsto \mu _{\tilde{F}}\left( x\right) \end{aligned}\) as follows:

$$\begin{aligned} \mu _{\tilde{F}}\left( x\right) = \left\{ \begin{array}{cl} L\left( \frac{b-x}{b-a}\right) ~&{}\quad \textit{if}~ a \le x \le b; \\ 1 ~&{}\quad \textit{if}~ b< x < c;\\ R\left( \frac{x -c}{d-c}\right) ~&{}\quad \textit{if}~ c \le x \le d;\\ 0&{}\quad \textit{otherwise}. \end{array}\right. \end{aligned}$$
(1)

Being \(a,b,c,d \in {\textbf{R}}\) real numbers such that \(a \le b \le c \le d\). \(L\left( \cdot \right) ,R\left( \cdot \right) : \left[ 0,1\right] \rightarrow \left[ 0,1\right] \) are two non-increasing shape functions such that \(R\left( 0\right) = L\left( 0\right) = 1\) and \(R \left( 1\right) = L\left( 1\right) = 0\).

Accordingly, the set of all L-R-shaped fuzzy numbers defined on the interval \(\left[ 0,1\right] \) will be referred to as follows:

$$\begin{aligned} \Omega _{\left[ 0,1\right] }=\left\{ \tilde{F}\left( a,b,c,d\right) |~\mu _{\tilde{F}}:{\textbf{R}}\rightarrow \left[ 0,1\right] \text { is a \textit{L-R} shaped fuzzy numbers}\right\} . \end{aligned}$$
(2)

Here, if \(L\left( \cdot \right) \) and \(R\left( \cdot \right) \) are invertible functions, then its \(\alpha \)-cut is given as follows:

$$\begin{aligned} \tilde{F}^{\alpha } = \left[ b - \left( b-a\right) L^{-1}\left( \alpha \right) , c + \left( d-c\right) R^{-1}\left( \alpha \right) \right] ,~ \alpha \in \left[ 0,1\right] . \end{aligned}$$
(3)

In general, let \(L\left( x\right) = R\left( x\right) = 1 -x\), the L-R shaped fuzzy number is the trapezoidal fuzzy number (TrFN), which should be easily defined as follows:

Definition 2

[25] For real numbers \(a \le b \le c \le d\), the membership function of TrFN, \({\tilde{T}} \equiv \tilde{T}\left( a,b,c,d\right) \), is given by

$$\begin{aligned} \mu _{\tilde{T}}\left( x\right) = \left\{ \begin{array}{cl} \frac{x - a}{b-a} ~&{}\quad \textit{if}~ a \le x \le b; \\ 1 ~&{}\quad \textit{if}~ b< x < c;\\ \frac{d - x}{d-c} ~&{}\quad \textit{if}~ c \le x \le d;\\ 0 ~ &{}\quad \textit{otherwise}. \end{array}\right. \end{aligned}$$
(4)

And its \(\alpha \)-cuts are computed as follows:

$$\begin{aligned} \tilde{T}^{\alpha } = \left[ a + \alpha \cdot \left( b - a \right) , d - \alpha \cdot \left( d - c \right) \right] , ~\forall \alpha \in \left[ 0,1\right] , \end{aligned}$$
(5)

Furthermore, if \(b = c\), then \(\tilde{T}\) is a triangular fuzzy number (TFN).

3 Comparison of Fuzzy Numbers Based on a Novel Fuzzy Distance

In order to rank fuzzy numbers, the distance between fuzzy numbers has been widely used [12, 20] and is usually constructed based on the \(\alpha \)-cut of fuzzy numbers being a continuous interval. Therefore, the main aim of this section is to propose a novel interval distance to construct the distance between fuzzy numbers, and then, based on it, a new ranking of fuzzy numbers will be proposed (see Fig. 1).

Fig. 1
figure 1

Main steps of ranking fuzzy numbers

3.1 A New Distance Between Intervals and Its Properties

Here, a novel distance between two intervals, which processes a finite approximation according to the fundamental properties of the integral, is proposed. First, it is necessary to state the distance measurement axioms for the intervals to complete the distance definition and then perform the interval distance calculation.

Definition 3

Let \({\mathcal {I}}_{{\textbf{R}}}\) be the set of all possible sub-intervals of \({\textbf{R}}\). A mapping \(d_{I}: {\mathcal {I}}_{{\textbf{R}}}\times {\mathcal {I}}_{{\textbf{R}}} \rightarrow {\textbf{R}}\) is called a distance between intervals iff it satisfies the following properties:

  1. (1)

    Non-negativity: \(\forall \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \in {\mathcal {I}}_{{\textbf{R}}},~ d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \ge 0\) and \( d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ a_{l},a_{r}\right] \right) =0\);

  2. (2)

    Symmetry: \(\forall \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \in {\mathcal {I}}_{{\textbf{R}}},~ d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) = d_{I}\left( \left[ b_{l},b_{r}\right] ,\left[ a_{l},a_{r}\right] \right) \);

  3. (3)

    Triangle inequality: \(d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \le d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ c_{l},c_{r}\right] \right) + d_{I}\left( \left[ c_{l},c_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \) for all \(\left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] ,\left[ c_{l},c_{r}\right] \in {\mathcal {I}}_{{\textbf{R}}}\).

3.1.1 A New Interval Distance in the Form of Integral

To propose new distances between intervals, we use the idea from Yager’s paper [21] to consider a continuous interval as dense sets of points, and the new distances are expressed by an integral form. As a result, we propose a novel distance between intervals, defined as follows:

Definition 4

Let \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) be two numerical continuous intervals verifying \(a_{l} \le a_{r}\) and \(b_{l} \le b_{r}\). The new distance between these two intervals is defined as follows:

$$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \nonumber \\{} & {} \quad = \left\{ \begin{array}{cl} 0 &{}~ \textit{if} \quad \left[ a_{l},a_{r}\right] =\left[ b_{l},b_{r}\right] ;\\ \int ^{1}_{0}\int ^{1}_{0} \left|a_{l} - b_{l} + \left( a_{r} - a_{l}\right) x - \left( b_{r} - b_{l}\right) y\right|\, dx dy &{} ~ \textit{otherwise}. \end{array}\right. \end{aligned}$$
(6)

Let us illustrate it more clearly in the case of \(\left[ a_{l},a_{r}\right] \not =\left[ b_{l},b_{r}\right] \). Let \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) be two numerical continuous intervals, the distance between intervals \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) is computed by the following steps:

  1. Step 1:

    Setting \( \delta _{\left[ a_{l},a_{r}\right] } = \frac{a_{r} - a_{l}}{n}\) and \(\delta _{\left[ b_{l},b_{r}\right] } = \frac{b_{r} - b_{l}}{m}\) for \(n,m \gg 1\), use \(a_{i} = a_{l} + i \cdot \delta _{\left[ a_{l},a_{r}\right] } = a_{l} + i \cdot \frac{1}{n} \cdot \left( a_{r} - a_{l}\right) \) and \(b_{j} = b_{l} + j \cdot \delta _{\left[ b_{l},b_{r}\right] } = b_{l} + j \cdot \frac{1}{m} \cdot \left( b_{r} - b_{l} \right) \) to represent the ordered discrete points, satisfying \(a_{0} \le a_{1} \le \cdots \le a_{m}\) and \(b_{0} \le b_{1} \le \cdots \le b_{n}\), of the intervals \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \), respectively. When \( i = j = 0\), we obtain \(a_{0} = a_{l}\) and \(b_{0} = b_{l}\), respectively; and when \(i = n\) and \(j = m\), we obtain \(a_{n} = a_{r}\) and \(b_{m} = b_{r}\), respectively.

  2. Step 2:

    Taking into account that the distance between two points \(a_{i}\) and \(b_{j}\) is computed directly as \(d_{ij} = \left|a_{i} - b_{j}\right|\) for \(i = 0, 1,\ldots ,n\) and \(j = 0,1,\ldots ,m\), the sum of all distances \(d_{ij}\) is then computed as \( \sum \nolimits ^{n}_{i = 0}\sum \nolimits ^{m}_{j = 0}d_{ij} = \sum \nolimits ^{n}_{i = 0}\sum \nolimits ^{m}_{j = 0} \left|a_{i} - b_{j} \right|\).

  3. Step 3:

    Considering the simplest case in which each distance \(d_{ij}\) contributes identically to the final distance between the intervals \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \), then such final interval distance can be approximated as the average of the sum of all distances \(d_{ij}\), i.e., \(\left( \sum \nolimits ^{n}_{i = 0}\sum \nolimits ^{m}_{j = 0} \left|a_{i} - b_{j} \right|\right) \frac{1}{\left( n+1\right) \cdot \left( m+1\right) }\).

  4. Step 4:

    To be in accordance with the definition of the integral, then the distance can be changed slightly to be approximated as \(\left( \sum \nolimits ^{n}_{i = 1}\sum \nolimits ^{m}_{j = 1} \left|a_{i} - b_{j} \right|\right) \frac{1}{n \cdot m}\). Thus, we can achieve that

    $$\begin{aligned} \begin{aligned}&d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \approx \left( \sum \limits ^{n}_{i = 1}\sum \limits ^{m}_{j = 1} \left|a_{i} - b_{j} \right|\right) \frac{1}{n \cdot m}\\&= \left( \sum \limits ^{n}_{i = 1}\sum \limits ^{m}_{j = 1} \left|a_{l} + i \cdot \frac{1}{n} \cdot \left( a_{r} - a_{l}\right) - b_{l} - j \cdot \frac{1}{m} \cdot \left( b_{r} - b_{l} \right) \right|\right) \frac{1}{n \cdot m} \end{aligned} \end{aligned}$$
    (7)
  5. Step 5:

    Subsequently, letting \(\Delta {x} = \frac{1}{n}\) and \(\Delta {y} = \frac{1}{m}\), we obtain

    $$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \approx \left( \sum \limits ^{n}_{i = 1}\sum \limits ^{m}_{j = 1} \left| a_{l} + i \cdot \Delta {x} \cdot \left( a_{r} - a_{l}\right) \right. \right. \nonumber \\{} & {} \left. \left. - b_{l} - j \cdot \Delta {y} \cdot \left( b_{r} - b_{l} \right) \right| \right) \,\Delta {x} \,\Delta {y} \end{aligned}$$
    (8)
  6. Step 6:

    Finally, letting \(n \rightarrow +\infty \) and \(m \rightarrow +\infty \), thus, \(\Delta {x} \rightarrow +0\) and \(\Delta {y} \rightarrow +0\), denoting \( x = i \cdot \Delta {x}\) and \( y = j \cdot \Delta {y}\), and considering that the value of i is from 1 to n and the value of j is from 1 to m, then we can obtain \(x, y \in \left( 0,1\right] \) and

    $$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \nonumber \\{} & {} = \int ^{1}_{0} \int ^{1}_{0} \left|a_{l} + \left( a_{r} - a_{l}\right) x - b_{l} - \left( b_{r} - b_{l} \right) y \right|\, \mathrm{{d}}x \,\mathrm{{d}}y. \end{aligned}$$
    (9)

However, it should be pointed out that if \(\left[ a_{l},a_{r}\right] =\left[ b_{l},b_{r}\right] \) with \(a^{r}\not = a^{l}\), using the above formula shall obtain \(d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ a_{l},a_{r}\right] \right) = \frac{a^{r} - a^{l}}{3} \not = 0\), which is contrary to the axiom of distance. Thus, another constraint should be added to the final formula, i.e., set \(d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ a_{l},a_{r}\right] \right) = 0\) when \(\left[ a_{l},a_{r}\right] =\left[ b_{l},b_{r}\right] \) with \(a^{r}\not = a^{l}\). Therefore, the final distance will be obtained as in Eq. (6).

Note 1

In fact, \(d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \) might be similarly rewritten as follows:

$$\begin{aligned} \begin{aligned}&d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) = \int ^{1}_{0} \int ^{1}_{0} \left|a_{r} - \left( a_{r} - a_{l}\right) x - b_{l} - \left( b_{r} - b_{l} \right) y \right|\,\mathrm{{d}}x \,\mathrm{{d}}y;\\&\quad = \int ^{1}_{0} \int ^{1}_{0} \left|a_{l} + \left( a_{r} - a_{l}\right) x - b_{r} + \left( b_{r} - b_{l} \right) y \right|\,\mathrm{{d}}x \,\mathrm{{d}}y;\\&\quad = \int ^{1}_{0} \int ^{1}_{0} \left|a_{r} - \left( a_{r} - a_{l}\right) x - b_{r} + \left( b_{r} - b_{l} \right) y \right|\,\mathrm{{d}}x \,\mathrm{{d}}y;\\&\quad = \int ^{\frac{1}{2}}_{-\frac{1}{2}}\int ^{\frac{1}{2}}_{-\frac{1}{2}} \left|\frac{a_{l}+a_{r}}{2} - \frac{b_{r}+b_{l}}{2} + \left( a_{r} - a_{l}\right) x - \left( b_{r} - b_{l}\right) y\right|\, \mathrm{{d}}x \,\mathrm{{d}}y. \end{aligned} \end{aligned}$$

For sake of simplicity, in this contribution, we only use

$$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\{} & {} \quad = \int ^{1}_{0} \int ^{1}_{0} \left|a_{l} + x \cdot \left( a_{r} - a_{l}\right) - b_{l} - \left( b_{r} - b_{l} \right) y \right|\, \mathrm{{d}}x \,\mathrm{{d}}y \end{aligned}$$

to compute the distance between two unequal numerical continuous intervals.

In addtion, if set \(d_{I}^{2} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) = \int ^{1}_{0} \int ^{1}_{0} \left|a_{l} + x \cdot \left( a_{r} - a_{l}\right) - b_{l} - \left( b_{r} - b_{l} \right) y \right|^{2} \, \mathrm{{d}}x \,\mathrm{{d}}y\), then it is the interval distance introduced in [17]:

$$\begin{aligned} \begin{aligned}&d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\&\quad = \sqrt{\int ^{1}_{0} \int ^{1}_{0} \left|a_{l} + x \cdot \left( a_{r} - a_{l}\right) - b_{l} - \left( b_{r} - b_{l} \right) y \right|^{2} \, \mathrm{{d}}x \,\mathrm{{d}}y}\\&\quad = \sqrt{\left( \frac{a_{l}+a_{r}}{2} - \frac{b_{r}+b_{l}}{2}\right) ^{2}+\frac{1}{12}\left( \left( a_{r} - a_{l}\right) ^{2} + \left( b_{r} - b_{l}\right) ^{2}\right) }. \end{aligned} \end{aligned}$$
(10)

Note 2

There are several special cases that should be illustrated under the situation \(\left[ a_{l},a_{r}\right] \not =\left[ b_{l},b_{r}\right] \).

  1. (1)

    Both \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) are constants, i.e., \(a_{r} = a_{l}\) and \(b_{r} = b_{l}\), then Eq. (6) shall be rewritten as follows:

    $$\begin{aligned} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) = |a_{l} - b_{l} |= |a_{r} - b_{r} |. \end{aligned}$$

    In other words, if both \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) are constants, then Eq. (6) is the general distance between two real numbers.

  2. (2)

    Just one of \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) is constant.

    1. (a)

      If \(\left[ a_{l},a_{r}\right] \) is a constant and \(\left[ b_{l},b_{r}\right] \) is an interval, i.e., \(a_{r} = a_{l}\) and \(b_{r} \not = b_{l}\), then Eq. (6) shall be rewritten as follows:

      $$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\{} & {} \quad =\left\{ \begin{array}{cl} \frac{b_{r} - b_{l}}{2}-\frac{\left( b_{r} - a_{l}\right) \left( a_{l} - b_{l}\right) }{b_{r} - b_{l}} &{}~ \textit{if} \quad a_{l}\in \left[ b_{l},b_{r}\right] ;\\ \left|a_{l} - \frac{b_{r} + b_{l}}{2}\right|&{} ~ \textit{otherwise}. \end{array}\right. \end{aligned}$$
    2. (b)

      If \(\left[ b_{l},b_{r}\right] \) is a constant and \(\left[ a_{l},a_{r}\right] \) is an interval, i.e., \(a_{r} \not = a_{l}\) and \(b_{r} = b_{l}\), then Eq. (6) shall be rewritten as follows:

      $$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\{} & {} \quad =\left\{ \begin{array}{cl} \frac{a_{r} - a_{l}}{2}-\frac{\left( a_{r} - b_{l}\right) \left( b_{l} - a_{l}\right) }{a_{r} - a_{l}} &{}~ \textit{if} \quad b_{l}\in \left[ a_{l},a_{r}\right] ;\\ \left|b_{l} - \frac{a_{r} + a_{l}}{2}\right|&{} ~ \textit{otherwise}. \end{array}\right. \end{aligned}$$
  3. (3)

    Both \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) are continuous intervals, i.e., \(\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) \not = 0\), let \(u = a_{l} + \left( a_{r} - a_{l}\right) x \) and \( v = b_{l} + \left( b_{r} - b_{l}\right) y\), then

    $$\begin{aligned} \begin{aligned}&\mathrm{{d}}\, u = \left( a_{r} - a_{l}\right) \mathrm{{d}}\,x\\&\mathrm{{d}}\,v = \left( b_{r} - b_{l}\right) \mathrm{{d}}\,y\\ \end{aligned} \end{aligned}.$$

    Thence, \(\forall x,y \in \left[ 0,1\right] \), we shall obtain \(\left\{ \begin{array}{ll} \mathrm{{d}}\, x = \frac{1}{\left( a_{r} - a_{l}\right) } \mathrm{{d}}\,u\quad \forall u \in \left[ a_{l},a_{r}\right] ;\\ \mathrm{{d}}\,y = \frac{1}{\left( b_{r} - b_{l}\right) } \mathrm{{d}}\,v\quad \forall v \in \left[ b_{l},b_{r}\right] ,\\ \end{array}\right. \) such that

    $$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \nonumber \\{} & {} \quad = \frac{1}{\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) }\int ^{a_{r}}_{a_{l}} \int ^{b_{r}}_{b_{l}} \left|u - v \right|\mathrm{{d}}\,u \mathrm{{d}}\,v. \end{aligned}$$
    (11)

    Obviously, this formula has limitations in computing a distance between intervals compare to Eq. (6) because of its potential constraint \(\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) \not =0 \).

Furthermore, if \(a_{r}\le b_{l}\) or \(b_{r} \le a_{l}\), Eq. (9) can be simplified as follows:

$$\begin{aligned}{} & {} d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) = \left|\frac{a_{l} + a_{r}}{2} - \frac{b_{l} + b_{r}}{2} \right|\nonumber \\{} & {} = \left\{ \begin{array}{ll} \frac{a_{l} + a_{r}}{2} - \frac{b_{l} + b_{r}}{2} ~&{}\textit{if}\quad b_{r}\le a_{l};\\ \frac{b_{l} + b_{r}}{2} - \frac{a_{l} + a_{r}}{2} ~&{}\textit{if}\quad a_{r}\le b_{l}. \end{array}\right. \end{aligned}$$
(12)

Example 1

For sake of simplicity, let \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) be two randomly generated sub-intervals of \(\left[ 0,1\right] \), applying Eq. (6), some results of \(d_{I} \left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \) shown in Table 1.

Table 1 Results of the proposed interval distance

Regarding the same distance values in the above table, the following interesting conclusions might be drawn:

  1. (1)

    For two compared intervals \(\left[ a_{1,l},a_{1,r}\right] ,\left[ b_{l},b_{r}\right] \) and \(\left[ a_{2,l},a_{2,r}\right] ,\left[ b_{l},b_{r}\right] \), if one of these three conditions has been satisfied, that is, (i) \(a_{1,r} - a_{1,l} = a_{2,r} - a_{2,l}\), \(b_{r} = a_{1,r}\), \( a_{2,l} = b_{l}\), and \(b_{l} - a_{1,l} = a_{2,r} - b_{r}\); (ii) \(a_{1,r} - a_{1,l} = a_{2,r} - a_{2,l}\), \(a_{1,l} = b_{l}\), \(a_{2,r}= b_{r},\) and \(b_{r} - a_{1,r} = a_{2,l} - b_{l}\)); (iii) \(a_{1,r} - a_{1,l} = a_{2,r} - a_{2,l}\), \(b_{l} - a_{1,r} = a_{2,r} = b_{r}\), and \( a_{2,l} - b_{l} = b_{r} - a_{1,r} \), then \( d_{I} \left( \left[ a_{1,l},a_{1,r}\right] ,\left[ b_{l},b_{r}\right] \right) = d_{I} \left( \left[ a_{2,l},a_{2,r}\right] ,\left[ b_{l},b_{r}\right] \right) \).

  2. (2)

    For two compared intervals \(\left[ a_{1,l},a_{1,r}\right] ,\left[ b_{1,l},b_{1,r}\right] \) and \(\left[ a_{2,l},a_{2,r}\right] ,\left[ b_{2,l},b_{2,r}\right] \), which satisfy \(a_{1,l} - b_{1,r} = a_{2,l} - b_{2,r}\), \(a_{1,r} - a_{1,l} = a_{2,r} - a_{2,l}\) and \(b_{1,r} - b_{1,l} = b_{2,r} - b_{2,l}\) (or \(a_{1,r} - a_{1,l} = b_{2,r} - b_{2,l}\) and \(a_{2,r} - a_{2,l} = b_{1,r} - b_{1,l}\)), then \( d_{I} \left( \left[ a_{1,l},a_{1,r}\right] ,\left[ b_{1,l},b_{1,r}\right] \right) = d_{I} \left( \left[ a_{2,l},a_{2,r}\right] ,\left[ b_{2,l},b_{2,r}\right] \right) \).

3.1.2 General Properties of the New Interval Distance

In this subsection, we briefly study the properties of the proposed interval distance.

Theorem 1

The function given by Eq. (6) is a distance between intervals.

Proof

  1. (1)

    Necessity. This is obvious, we omit the proof here.

  2. (2)

    Sufficiency. Obviously, this definition satisfies the first two properties: Non-negativity and Symmetry. For the Triangle inequality property, let \(\left[ c_{l},c_{r}\right] \) satisfying \(c_{l}\le c_{r}\), then

    $$\begin{aligned} \begin{aligned}&d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\&\quad =\int ^{1}_{0}\int ^{1}_{0}\left| a_{l} - b_{l} + \left( a_{r} - a_{l}\right) x - \left( b_{r} - b_{l}\right) y\right| \,\mathrm{{d}}x \,\mathrm{{d}}y;\\&\quad d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ c_{l},c_{r}\right] \right) \\&\quad = \int ^{1}_{0}\int ^{1}_{0}\left| a_{l} - c_{l} + \left( a_{r} - a_{l}\right) x - \left( c_{r} - c_{l}\right) z\right| \,\mathrm{{d}}x\,\mathrm{{d}}z;\\&\quad d_{I}\left( \left[ c_{l},c_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\&\quad = \int ^{1}_{0}\int ^{1}_{0}\left| c_{l} - b_{l} + \left( c_{r} - c_{l}\right) z - \left( b_{r} - b_{l}\right) y\right| \,\mathrm{{d}}z\,\mathrm{{d}}y.\\ \end{aligned} \end{aligned}$$

    Thence, by using the classical inequality \( \vert x + y \vert \le \vert x \vert + \vert y \vert ,~\forall x,y \in {\textbf{R}} \)

    $$\begin{aligned} \begin{aligned}&\left| a_{l} - b_{l} + \left( a_{r} - a_{l}\right) x - \left( b_{r} - b_{l}\right) y\right| \\&\quad =\left| \left( a_{l} - c_{l} + \left( a_{r} - a_{l}\right) x - \left( c_{r} - c_{l}\right) z\right) \right. \\&\quad \left. + \left( c_{l} - b_{l} + \left( c_{r} - c_{l}\right) z - \left( b_{r} - b_{l}\right) y\right) \right| \\&\quad \le \left| a_{l} - c_{l} + \left( a_{r} - a_{l}\right) x - \left( c_{r} - c_{l}\right) z\right| \\&\quad + \left| c_{l} - b_{l} + \left( c_{r} - c_{l}\right) z - \left( b_{r} - b_{l}\right) y\right| , \end{aligned} \end{aligned}$$

    and

    $$\begin{aligned} \begin{aligned}&d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \\&\quad =\int ^{1}_{0}\int ^{1}_{0}\left| a_{l} - b_{l} + \left( a_{r} - a_{l}\right) x - \left( b_{r} - b_{l}\right) y\right| \, \mathrm{{d}}x \,\mathrm{{d}}y\\&\quad \le \int ^{1}_{0}\int ^{1}_{0}\left| a_{l} - c_{l} + \left( a_{r} - a_{l}\right) x - \left( c_{r} - c_{l}\right) z\right| \,\mathrm{{d}}x\,\mathrm{{d}}z \\&\quad + \int ^{1}_{0}\int ^{1}_{0}\left| c_{l} - b_{l} + \left( c_{r} - c_{l}\right) z - \left( b_{r} - b_{l}\right) y\right| \,\mathrm{{d}}z\,\mathrm{{d}}y. \end{aligned} \end{aligned}$$

    Thus,

    $$\begin{aligned}{} & {} d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) \le d_{I}\left( \left[ a_{l},a_{r}\right] ,\left[ c_{l},c_{r}\right] \right) \\{} & {} \quad + d_{I}\left( \left[ c_{l},c_{r}\right] ,\left[ b_{l},b_{r}\right] \right) . \end{aligned}$$

Therefore, this interval distance is a distance measure. \(\square \)

3.2 A Ranking for Fuzzy Numbers Based on the Novel Distance Between Fuzzy Numbers

The proposed novel interval distances could be applied to the corresponding \(\alpha \)-cuts of the two fuzzy numbers being compared, which is due to the fact that the \(\alpha \)-cuts of the fuzzy numbers are continuous intervals. Therefore, the distances between fuzzy numbers can be well defined by using the reducing functions and applying the new interval distance to their corresponding \(\alpha \)-cuts. Thus, a new ranking metric for fuzzy numbers is proposed.

To define distances between fuzzy numbers, it is necessary to introduce the following distance axioms for fuzzy numbers first. Note that the axioms (1)–(3) from Definition 1 in terms of fuzzy numbers in \(\Omega _{\left[ 0,1\right] }\) and \(d_{f}: \Omega _{\left[ 0,1\right] }\times \Omega _{\left[ 0,1\right] } \rightarrow {\textbf{R}}\) are as follows:

  1. (1)

    Non-negativity: \(\forall \tilde{F}_{1},\tilde{F}_{2}\in \Omega _{\left[ 0,1\right] },~ d_{f}\left( \tilde{F}_{1},\tilde{F}_{2}\right) \ge 0\) and \( d_{f}\left( \tilde{F}_{1},\tilde{F}_{1}\right) =0\);

  2. (2)

    Symmetry: \(\forall \tilde{F}_{1},\tilde{F}_{2}\in \Omega _{\left[ 0,1\right] },~ d_{f}\left( \tilde{F}_{1},\tilde{F}_{2}\right) = d_{f}\left( \tilde{F}_{2},\tilde{F}_{1}\right) \);

  3. (3)

    Triangle inequality: \(d_{f}\left( \tilde{F}_{1},\tilde{F}_{2}\right) \le d_{f}\left( \tilde{F}_{1},\tilde{F}_{3}\right) + d_{f}\left( \tilde{F}_{3},\tilde{F}_{2}\right) \) for all \(\tilde{F}_{1},\tilde{F}_{2},\tilde{F}_{3}\in \Omega _{\left[ 0,1\right] }\).

3.2.1 Novel Distance Between Fuzzy Numbers

Before defining a distance between fuzzy numbers, we should review the concept of a reducing function with \(\alpha \) as a variable, which will help define a series of new distances between fuzzy numbers.

Definition 5

[18] A function

\(\begin{aligned} s: \left[ 0,1\right] \longrightarrow \left[ 0,1\right] \\ \end{aligned} \)

is a reducing function if it is increasing and satisfies \(s\left( 0\right) = 0\) and \(s\left( 1\right) = 1\). If another constraint \(\int ^{1}_{0} s \left( \alpha \right) \mathrm{{d}}\, \alpha = \frac{1}{2}\) is satisfied, then it is called a regular reducing function.

For example, \(s\left( \alpha \right) = \sin {\left( \frac{\pi }{2}\alpha \right) }\) and \(s\left( \alpha \right) = \alpha ^{\kappa },~\kappa > 0\) are reducing functions; \(s\left( \alpha \right) = \frac{\pi }{4} sin{\left( \frac{\pi }{2}\alpha \right) }\) and \(s\left( \alpha \right) = \alpha \) are regular reducing functions.

Definition 6

Let \(\tilde{F}_{1}\) and \(\tilde{F}_{2}\) be two arbitrary fuzzy numbers in \(\Omega _{\left[ 0,1\right] }\), let \(d_I\) be a distance between intervals, then the distance between two fuzzy numbers with respect to the reducing function \(s\left( \cdot \right) \) is defined as follows:

$$\begin{aligned} d_{f,s\left( \cdot \right) }\left( \tilde{F}_{1},\tilde{F}_{2}\right) = \frac{\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha }{\int ^{1}_{0} s\left( \alpha \right) \mathrm{{d}}\,\alpha } \end{aligned}$$
(13)

where \(\tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\) are \(\alpha \)-cuts of fuzzy numbers \(\tilde{F}_{1},\tilde{F}_{2}\) for all \(\alpha \in \left[ 0,1\right] \), respectively.

Note 3

Let \(s\left( \alpha \right) = \alpha ^{\kappa }\) be a reducing function with parameter \(\kappa > 0\), then Eq. (13) should be rewritten as follows:

$$\begin{aligned} d_{f,\alpha ^{\kappa }}\left( \tilde{F}_{1},\tilde{F}_{2}\right) = \left( \kappa +1\right) \int ^{1}_{0} \alpha ^{\kappa }\cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha . \end{aligned}$$
(14)

Furthermore, if \(s\left( \cdot \right) \) is a regular reducing function \(s\left( \alpha \right) = \alpha \), i.e., \(\kappa = 1\), then Eq. (13) should be simplified as follows:

$$\begin{aligned} d_{f,\alpha ^{1}}\left( \tilde{F}_{1},\tilde{F}_{2}\right) = 2 \int ^{1}_{0} \alpha \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha . \end{aligned}$$
(15)

Without loss of generality, in this proposal, we will use Eq. (14) to calculate the distance between fuzzy numbers.

Theorem 2

The distance \(d_{f,s\left( \cdot \right) }\) satisfies the distance axioms for fuzzy numbers.

Proof

Properties (I) and (II) are obvious. We only need to prove the property (III).

\(\forall \tilde{F}_{1},\tilde{F}_{2},\tilde{F}_{3}\in \Omega _{\left[ 0,1\right] }\), applying Eq. (13), for a given reducing function \(s\left( \alpha \right) \), \(\int ^{1}_{0} s\left( \alpha \right) d\,\alpha \) is a constant, then the following results shall be obtained:

$$\begin{aligned} \begin{aligned}&d_{f,s\left( \cdot \right) }\left( \tilde{F}_{1},\tilde{F}_{2}\right) = \frac{1}{\int ^{1}_{0} s\left( \alpha \right) \mathrm{{d}}\,\alpha }\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha ;\\&d_{f,s\left( \cdot \right) }\left( \tilde{F}_{1},\tilde{F}_{3}\right) = \frac{1}{\int ^{1}_{0} s\left( \alpha \right) \mathrm{{d}}\,\alpha }\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{3}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha ;\\&d_{f,s\left( \cdot \right) }\left( \tilde{F}_{3},\tilde{F}_{2}\right) = \frac{1}{\int ^{1}_{0} s\left( \alpha \right) \mathrm{{d}}\,\alpha }\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{3}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha . \end{aligned} \end{aligned}$$

Considering Theorem 1, i.e., for \(\alpha \in \left[ 0,1\right] \), \(d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \le d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{3}^{\alpha }\right) + d_{I}\left( \tilde{F}_{3}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \), then

$$\begin{aligned} \begin{aligned}&\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha \\&\le \int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{3}^{\alpha }\right) + d_{I}\left( \tilde{F}_{3}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha \\&= \int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{1}^{\alpha },\tilde{F}_{3}^{\alpha }\right) \right] d\,\alpha +\int ^{1}_{0} s\left( \alpha \right) \cdot \left[ d_{I}\left( \tilde{F}_{3}^{\alpha },\tilde{F}_{2}^{\alpha }\right) \right] \mathrm{{d}}\,\alpha .\\ \end{aligned} \end{aligned}$$

Finally, we shall obtain

$$\begin{aligned} d_{f,s\left( \cdot \right) }\left( \tilde{F}_{1},\tilde{F}_{2}\right) \le d_{f,s\left( \cdot \right) }\left( \tilde{F}_{1},\tilde{F}_{3}\right) + d_{f,s\left( \cdot \right) }\left( \tilde{F}_{3},\tilde{F}_{2}\right) . \end{aligned}$$

\(\square \)

To simplify the computation process, the following example is introduced to show the performance of the distance based on \(\alpha \)-cuts of TrFNs.

Example 2

Let \(\tilde{T}_{1}= \tilde{T}_{1}\left( 0.5, 0.625, 0.875, 1\right) \) and \(\tilde{T}_{2}= \tilde{T}_{2}\left( 0.375, 0.5, 0.5, 0.625\right) \) be two TrFNs, and let \(\tilde{T}_{3}= \tilde{T}_{3}\left( 0.5, 0.667, 0.834\right) \) and \(\tilde{T}_{4}= \tilde{T}_{4}\left( 0.5, 0.852, 1\right) \) be two TFNs, then applying Eq. (14), the obtained distances with different \(\kappa >0\) are shown in Table 2.

Table 2 The distances between TrFNs/TFNs
  1. (1)

    As we can see, the results are reasonable. For example, as \(\kappa \) increases, \(d_{f,\alpha ^{\kappa }}\left( \tilde{T}_{2},\tilde{T}_{4}\right) \) and \(d_{f,\alpha ^{\kappa }}\left( \tilde{T}_{3},\tilde{T}_{4}\right) \) increases, and the rest decreases with it. The underlying reason should be due to the fact that \(f\left( \alpha ,\kappa \right) = \frac{\alpha ^{\kappa }}{\int _{0}^{1}\alpha ^{\kappa }\,\mathrm{{d}} \alpha }\) plays the role of a weight, because the interval distance between their \(\alpha \)-cuts of a pair of TrFNs is the same for different \(\kappa \).

  2. (2)

    Based on Fig. 2, the impacts of parameters \(\alpha ,\kappa \) on \(f\left( \alpha ,\kappa \right) = \frac{\alpha ^{\kappa }}{\int _{0}^{1}\alpha ^{\kappa }\,\mathrm{{d}} \alpha }\) will be further investigated in-depth. In the Fig. 2, the x-axis represents \(\alpha \in \left[ 0,1\right] \) and the y-axis shows the value of \(f\left( \alpha ,\kappa \right) \) for a given \(\kappa \in \left\{ 0.1, 0.2, \ldots , 1,\ldots , 1.9,2\right\} \). The solid curves represent the given parameter \(\kappa \in \left\{ 0.1, 0.2, \ldots , 1\right\} \); and the dotted curves represent the parameter \(\kappa \in \left\{ 1.1,1.2,\ldots , 1.9,2\right\} \). Therefore, on the basis of Fig. 2, we can conclude the following:

    1. (a)

      For a given \(\kappa \), as \(\alpha \) increase, the value of \(f\left( \alpha ,\kappa \right) \) is increasing.

    2. (b)

      At \(\alpha = 1\), the maximum value of \(f\left( \alpha ,\kappa \right) \), i.e., \( \kappa + 1\), increases as \(\kappa \) increase.

    3. (c)

      When \(\kappa = 0.1\), the asymptote of \(f\left( \alpha ,0.1\right) \) is \(y = 1.1\), i.e., Eq. (14) almost perform as an average aggregation operator.

    4. (d)

      For the rest \(\kappa >0.1\), the interval distance between the \(\alpha \)-cuts will become increasingly significant at higher \(\alpha \) value for a pair of TrFNs.

In summary, based on these conclusions, the distance between \(\alpha \)-cuts increases for the cases \(\tilde{T}_{2},\tilde{T}_{4}\) and \(\tilde{T}_{3},\tilde{T}_{4}\), but decreases for the remaining cases.

Fig. 2
figure 2

The image of function \(f\left( \alpha ,\kappa \right) =\frac{\alpha ^{\kappa }}{\int _{0}^{1}\alpha ^{\kappa }\,\mathrm{{d}} \alpha }\) for each given \(\kappa \in \left\{ 0.1, 0.2, \ldots , 1,\ldots , 1.9,2\right\} \)

3.2.2 New Ranking of Fuzzy Numbers Based on the Proposed Distance

Once the distance between fuzzy numbers has been proposed, the ranking index of fuzzy numbers will appear naturally. Let \(\left\{ \tilde{F}_{1},\tilde{F}_{2},\ldots ,\tilde{F}_{n}\right\} \left( n \ge 2\right) \) be a set of n arbitrary fuzzy numbers that need to be ordered, and \(\forall \alpha \in \left[ 0,1\right] \), let \({\tilde{F}_{i}}=\tilde{F}\left( a_{i},b_{i},c_{i},d_{i}\right) \), and \(\tilde{F}^{\alpha }_{i} = \left[ b_{i} - \left( b_{i}-a_{i}\right) L^{-1}_{i}\left( \alpha \right) , c_{i} + \left( d_{i}-c_{i}\right) R^{-1}_{i}\left( \alpha \right) \right] \) be the \(\alpha \)-cut of \(\tilde{F}_{i}\) and \(b_{i} - \left( b_{i}-a_{i}\right) L^{-1}_{i}\left( \alpha \right) ,c_{i} + \left( d_{i}-c_{i}\right) R^{-1}_{i}\left( \alpha \right) \) be two endpoints of \(\tilde{F}^{\alpha }_{i}\) for all \(i = 1,2,\cdots ,n\), then these two ideal fuzzy numbers are given by

$$\begin{aligned} \left\{ \begin{array}{lc} \tilde{F}^{*} = \bigcup \limits _{\alpha \in \left[ 0,1\right] } \left[ \sup \limits _{i}\left\{ b_{i} - \left( b_{i}-a_{i}\right) L^{-1}_{i}\left( \alpha \right) \right\} ,\sup \limits _{i}\left\{ c_{i}+ \left( d_{i}-c_{i}\right) R^{-1}_{i}\left( \alpha \right) \right\} \right] \\ \tilde{F}_{*} = \bigcup \limits _{\alpha \in \left[ 0,1\right] } \left[ \inf \limits _{i}\left\{ b_{i} - \left( b_{i}-a_{i}\right) L^{-1}_{i}\left( \alpha \right) \right\} ,\inf \limits _{i}\left\{ c_{i}+ \left( d_{i}-c_{i}\right) R^{-1}_{i}\left( \alpha \right) \right\} \right] \\ \end{array}\right. \end{aligned}$$
(16)

Therefore, \(\tilde{F}_{i}\) has at least three basic ranking indices, defined as follows.

  1. (1)

    Compute the distance to \(\tilde{F}_{*}\), given as

    $$\begin{aligned} RI_{1}\left( \tilde{F}_{i}\right) = d_{f,s\left( \cdot \right) }\left( \tilde{F}_{i},\tilde{F}_{*}\right) , \end{aligned}$$
    (17)
  2. (2)

    Compute the negative of the distance to \(\tilde{F}^{*}\), given as

    $$\begin{aligned} RI_{2}\left( \tilde{F}_{i}\right) = - d_{f,s\left( \cdot \right) }\left( \tilde{F}_{i},\tilde{F}^{*}\right) , \end{aligned}$$
    (18)
  3. (3)

    Inspired by the TOPSIS [13, 15, 26] method, and considering both the two distances of \(\tilde{F}_{i}\) from \(\tilde{F}^{*}\) and \(\tilde{F}_{i}\) from \(\tilde{F}_{*}\), the ranking value is calculated as follows:

    $$\begin{aligned} RI_{3}\left( \tilde{F}_{i}\right) = \frac{d_{f,s\left( \cdot \right) }\left( \tilde{F}_{i},\tilde{F}_{*}\right) }{d_{f,s\left( \cdot \right) }\left( \tilde{F}_{i},\tilde{F}^{*}\right) + d_{f,s\left( \cdot \right) }\left( \tilde{F}_{i},\tilde{F}_{*}\right) }. \end{aligned}$$
    (19)

From the ranking values of \(\tilde{F}_{i}\), it suggests that the larger the value, the higher the ranking position of all fuzzy numbers.

Example 3

Continuing with Example 2, applying Eqs. (17), (18), and (19), it is easy to compute the three ranking index for these TrFNs, respectively, as shown in Figs. 3, 4, and 5. In these figures, the y-axis represents the ranking index value; the x-axis indicates the value of \(\kappa \in \left[ 0.1,2\right] \). It is an obvious conclusion from the figures that the order of these TrFNs is \(\tilde{T}_{4} \succ \tilde{T}_{1} \succ \tilde{T}_{3} \succ \tilde{T}_{2}\).

Fig. 3
figure 3

Ranking index using Eq. (17)

Fig. 4
figure 4

Ranking index using Eq. (18)

Fig. 5
figure 5

Ranking index using Eq. (19)

3.2.3 Time Complexity Analyses

The proposed ranking method is performing by two key steps:

  1. Step 1:

    applying the proposed interval distance to the \(\alpha \)-cuts of the compared fuzzy numbers;

  2. Step 2:

    using one of ranking index to compute the ranking index;

Based on the concept of defining an interval distance, it takes \(O\left( n^{2}\right) \) time to calculate the distance because of the performing of integral. Once the interval distance between \(\alpha \)-cuts is computed, it should take \(O\left( n\right) \) time to compute the fuzzy distance on the basis of processing of \(\alpha \)-cuts. The ranking index then takes \(O\left( 1\right) \) time to finish the final computation. It can be seen that the ranking method total takes \(O\left( n^{3}\right) \), i.e., \(O\left( n^{3}\right) = O\left( n^{2}\right) \times O\left( n\right) \times O\left( 1\right) \). Therefore, the time complexity of ranking fuzzy numbers is shown as Theorem 3.

Theorem 3

The time complexity of ranking fuzzy numbers is \(O\left( n^{3}\right) \).

Note 4

In spite of the time complexity, the results will be more reliable in many practical cases than those using only endpoints or midpoints of their corresponding α-cuts.

4 Numerical Comparisons and Analysis

This section focuses on demonstrating the effectiveness and generality of the proposed interval distance because the key to the distance between fuzzy numbers is actually the distance between intervals. First, a comparison and analysis of the interval distance proposed in this paper with several other classical methods are introduced. Then, the new ranking index of fuzzy numbers will be compared and analyzed with some other fuzzy number ranking methods.

4.1 Comparative Analysis Between the Proposed Interval Distance and the Classical Ones

In fact, the fundamental difference for the distance between fuzzy numbers presented in this paper and other distances lies in the different interval distances between their corresponding \(\alpha \)-cuts. Thence, the comparative analysis of the distance between intervals is actually a comparative analysis of the distance between fuzzy numbers.

Let \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \) be two numerical continuous intervals satisfying \( a_{l} \le a_{r}\) and \( b_{l} \le b_{r}\), there are three classical distances between intervals given as follows:

  1. (1)

    Hamming distance [24]:

    $$\begin{aligned} d_{Hm}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) =\frac{\left|a_{l} - b_{l} \right|+ \left|a_{r} - b_{r} \right|}{2} \end{aligned}$$
    (20)
  2. (2)

    Euclidean distance [6]:

    $$\begin{aligned} d_E\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) =\sqrt{\left|a_{l} - b_{l} \right|^{2} + \left|a_{r} - b_{r} \right|^{2}} \end{aligned}$$
    (21)
  3. (3)

    \(L_1\) Hausdorff metric distance [3, 10]:

    $$\begin{aligned} d^{L_1}_{{\textbf{H}}}\left( \left[ a_{l},a_{r}\right] ,\left[ b_{l},b_{r}\right] \right) =\max \left\{ \left|a_{l} - b_{l} \right|, \left|a_{r} - b_{r} \right|\right\} \end{aligned}$$
    (22)

Note 5

It is worth pointing out that the proposed distance \(d_{I}\) uses all points in the interval to calculate the distance, while the classical distances are calculated specifically from the endpoints of the interval. Thus, for two intervals \(\left[ a_{l},a_{r}\right] \) and \(\left[ b_{l},b_{r}\right] \), several special interesting conclusions can be derived:

  1. (1)

    If \(a_{l} = b_{l}\) and \(a_{r}\not =b_{r}\), the classical distances are only determined by the right endpoints of intervals as: \( d_{E} = d^{L_{1}}_{H} = 2 d_{Hm} = |a_{r} - b_{r} |\).

  2. (2)

    If \(a_{l} \not = b_{l}\) and \(a_{r} = b_{r}\), these classical distances are determined by the left endpoints of intervals, which leads to the results: \(d_{E} = d^{L_{1}}_{H} = 2 d_{Hm} = |a_{l} - b_{l}|\).

  3. (3)

    If \(\frac{a_{l}+a_{r}}{2} = \frac{b_{l}+b_{r}}{2}\), then \(|a_{l} - b_{l} |= |b_{r} - a_{r} |\) and these classical distances are related as follows: \(d_{Hm} = d^{L_{1}}_{H} = \frac{\sqrt{2}}{2} d_{E} = \left|a_{l} - b_{l} \right|= \left|a_{r} - b_{r} \right|\).

Example 4

Four special cases are selected, where the two comparison intervals are both subsets of \(\left[ 0,1\right] \). The results by using different distances are shown in Table 3.

The bold is the result of the proposed distance \(d_{I}\), which uses all points in the intervals to compute the distance between intervals, whereas the remaining ones are computed on the endpoints of intervals.

It is known that the expected value and the standard variance value are two important statistical concepts, so for the four special cases in Table 3, the following Figs. 6, 7, 8, and 9 will be used to further illustrate that the proposed method has certain advantages. These figures consider the following four cases:

  1. (i)

    If the compared intervals are randomly generated with the same left endpoint \(a_{l} = b_{l} = 0.6787\), then we obtain Fig. 6.

  2. (ii)

    If the compared intervals are randomly generated with the same right endpoint \(a_{r} = b_{r} = 0.6787\), then the expected and standard variance values are obtained Fig. 7.

  3. (iii)

    If the compared intervals are randomly generated with the same midpoint \(\frac{a_{l}+a_{r}}{2} = \frac{b_{l}+b_{r}}{2} = 0.5060\), then it is obtained Fig. 8.

  4. (iv)

    If the compared intervals are randomly generated, then we obtain Fig. 9.

As seen in Figs. 6, 7, and 8, if hundreds of compared intervals have the same endpoint or midpoint, then the proposed interval distances will have smaller expected and standard variance values, indicating that the rest of the classical distances are highly susceptible to the endpoint or midpoint values, which is extremely detrimental. Furthermore, in Fig. 9, even if these distances use randomly generated intervals, we can see that the points of \(d_{I}\) are randomly scattered in the rest of the point range. This further suggests that the novel distances are valid.

Table 3 The comparative results of the distances between intervals
Fig. 6
figure 6

The expected and standard variance values of different distances for 100 randomly pairs of intervals on \(\left[ 0,1\right] \)

Fig. 7
figure 7

The expected and standard variance values of different distances for 100 randomly pairs of intervals on \(\left[ 0,1\right] \)

Fig. 8
figure 8

The expected and standard variance values of different distances for 100 randomly pairs of intervals on \(\left[ 0,1\right] \)

Fig. 9
figure 9

The expected and standard variance values of different distances for 100 randomly pairs of intervals on \(\left[ 0,1\right] \)

Our model is more time consuming, but much more reliable because it takes all the information of the interval into account (see Table 4).

Table 4 Time complexity comparison between proposed and classical interval distance

The time complex order of computing fuzzy distance is then added as follows:

$$\begin{aligned} O\left( 4n\right)< O\left( 16n\right) < O\left( n^{3}\right) . \end{aligned}$$
(23)

Additionally, the new interval distance can be directly applied to the real example in [12], which uses the hesitant interval-valued fuzzy sets (HIVFSs) [7] to express expert opinions, and will, therefore, be further investigated. In this example, an investment company wants to invest a sum of money in one of the five alternative companies with the lowest risk, the best return on investment, and market prospects. The five possible alternative companies are \({\mathcal {A}}_{1}\), an automobile company; \({\mathcal {A}}_{2}\), a food company; \({\mathcal {A}}_{3}\), a computer company; \({\mathcal {A}}_{4}\), a weapons company; and \({\mathcal {A}}_{5}\), a television company. Three experts are invited to evaluate these companies in terms of risk, return on investment, and market prospects, with a value of 1 indicating the greatest return on investment and market prospects and the lowest risk, and 0 indicating the opposite.

Example 5

We take the numerical example introduced in [12], in which the distance is given as follows:

$$\begin{aligned} D^{*}\left( \tilde{A}_{i},\tilde{A}_{j}\right){} & {} = \frac{1}{m}\sum ^{m}_{k =1}\left| \frac{1}{\# \tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }\times \# \tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k}\right) }}\right. \\{} & {} \quad \left. \times \left[ \sum ^{\# \tilde{H}_{\tilde{A}_{j}\left( e_{k}\right) }}_{t_{j} = 1 }\sum ^{\#\tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k}\right) }}_{t_{i} = 1}\delta ^{*}\left( \tilde{H}_{\tilde{{\mathcal {A}}}_{i} \left( e_{k},t_{i}\right) },\tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k},t_{j}\right) }\right) \right] \right| \end{aligned},$$

where \(\#\tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k}\right) }\) and \(\#\tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }\) are the cardinality of the sets \(\tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k}\right) }\) and \(\tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }\), respectively. And \(\tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k},t_{i}\right) }\in \tilde{H}_{\tilde{{\mathcal {A}}}_{i}\left( e_{k}\right) }\) and \(\tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k},t_{j}\right) } \in \tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }\) represent two sub-intervals of \(\left[ 0,1\right] \), respectively. \(\delta ^{*}\left( \cdot \right) \) computes the deviation between two intervals.

In fact, the key part of \( D^{*}\left( \cdot \right) \) is defined by the deviation \(\delta ^{*}\left( \cdot \right) \) between intervals \(\tilde{a}\) and \(\tilde{b}\) with an additional potential constraint \(\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) \not = 0\), the computation formula is defined as follows:

$$\begin{aligned}{} & {} \delta ^{*}\left( \tilde{a},\tilde{b}\right) =\frac{\int ^{a_{r}}_{a_{l}}\int ^{b_{r}}_{b_{l}} \left( x - y \right) \, \mathrm{{d}}x \mathrm{{d}}y }{\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) } \nonumber \\{} & {} \quad = \left\{ \begin{array}{cl} \frac{\left( a_{l} + a_{r}\right) }{2} - \frac{\left( b_{l} + b_{r}\right) }{2} &{} ~\textit{if}~ \left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) \not = 0;\\ \textit{invalid} &{}~ \textit{otherwise}. \end{array}\right. \end{aligned}$$
(24)

Actually, only if \(\left( a_{r} - a_{l}\right) \left( b_ {r } - b_{l}\right) \not = 0\), the deviation \(\delta ^{*}\) makes sense, and it is defined by the deviation of the midpoints of the corresponding intervals. And if at least one of \(\tilde{a}\) and \(\tilde{b}\) is a constant, i.e., \(\left( a_{r} - a_{l}\right) \left( b_{r} - b_{l}\right) = 0\), the formula is invalid. In addition, if \(\frac{\left( a_{l} + a_{r}\right) }{2} = \frac{\left( b_{l} + b_{r}\right) }{2}\), i.e., \(\tilde{a}\) and \(\tilde{b}\) are symmetric but satisfy \(\tilde{a}\) is not equal to \(\tilde{b}\), i.e., \(\tilde{a} \not = \tilde{b}\), the deviation \(\delta ^{*}\) does not identify their difference, that is, there exists a distance between them. Thus, the application of the deviation \(\delta ^{*}\) is limited. It is worth pointing out that this formulation is quite similar to Eq. (11), which is a special case of our proposed distance.

Therefore, to apply Eq. (6), then for \(j \in \left\{ 1,2,3,4,5\right\} \), the new distance between HIVFSs \(\tilde{A}^{*}\) and \(\tilde{A}_{j}\) is given

$$\begin{aligned} D\left( \tilde{A}^{*},\tilde{A}_{j}\right){} & {} = \frac{1}{m}\sum ^{m}_{k =1}\left\{ \frac{1}{\# \tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }\times \# \tilde{H}_{\tilde{{\mathcal {A}}}^{*}\left( e_{k}\right) }}\right. \nonumber \\{} & {} \left. \times \left[ \sum ^{\# \tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k}\right) }}_{t_{j} = 1 }\sum ^{\#\tilde{H}_{\tilde{{\mathcal {A}}}^{*}\left( e_{k}\right) }}_{t^{*} = 1}d_{I}\left( \tilde{H}_{\tilde{{\mathcal {A}}}^{*}\left( e_{k},t^{*}\right) }, \tilde{H}_{\tilde{{\mathcal {A}}}_{j}\left( e_{k},t_{j}\right) }\right) \right] \right\} \end{aligned}.$$
(25)

Finally, we will obtain the distance with \(m=3\) and ranking results are shown in Table 5.

Table 5 Distance and ranking results

From the table, we can see that both have the same top alternative \({\mathcal {A}}_{4}\), the medium one \({\mathcal {A}}_{5}\), and the bottom one \({\mathcal {A}}_{3}\), and the ranking is totally different between \({\mathcal {A}}_{1}\) and \({\mathcal {A}}_{2}\), which indicates that our proposed method is effective. It should be noted that the proposed approach in [12] uses the difference between the midpoints of the interval to identify the deviation of the intervals; especially when multiple intervals are involved in the computation process, there will be positive and negative offsets or even zero, which results in different results. Whereas our proposed distance between HIVFSs, \(D\left( \tilde{A}^{*},\tilde{A}_{j}\right) \), uses all points in the intervals to compute the distance between the corresponding intervals, which uses more information and thus the results will be more reliable than the results obtained with the distance introduced in [12].

4.2 Comparison and Analysis of New Ranking Index for Fuzzy Numbers

This section focuses on the comparison and analysis of our proposed new ranking index of fuzzy numbers.

Example 6

Considering the examples shown in [22] with the following sets of TrFN/TFN:

  1. Set 1:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 0.4,0.5,1\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 0.4,0.7,1\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 0.4,0.9,1\right) \)

  2. Set 2:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 0.3,0.4,0.7,0.9\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 0.3,0.7,0.9\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 0.5,0.7,0.9\right) \)

  3. Set 3:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 0.3,0.5,0.7\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 0.3,0.5,0.8,0.9\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 0.3,0.5,0.9\right) \)

  4. Set 4:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 0,0.4,0.7,0.8\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 0.2,0.5,0.9\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 0.1,0.6,0.8\right) \)

  5. Set 5:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 0.2,0.4,0.6,0.8\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 0.3,0.5,0.7\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 0.35,0.5,0.65\right) \)

  6. Set 6:

    \(\tilde{T}_1 = \tilde{T}_1 \left( 13,14,17\right) \), \(\tilde{T}_2 = \tilde{T}_2 \left( 12,14,17\right) \), \(\tilde{T}_3 = \tilde{T}_3 \left( 10,15,16.2\right) \)

Fig. 10
figure 10

TrFNs/TFNs in Set 1

Fig. 11
figure 11

TrFNs/TFNs in Set 2

Fig. 12
figure 12

TrFNs/TFNs in Set 3

Fig. 13
figure 13

TrFNs/TFNs in Set 4

Fig. 14
figure 14

TrFNs/TFNs in Set 5

Fig. 15
figure 15

TrFNs/TFNs in Set 6

In Figs. 10, 11, 12, 13, 14, and 15, \(\tilde{T}_{1}\), \(\tilde{T}_{2}\) and \(\tilde{T}_{3}\) in each group are displayed in the same way. We shall obtain the new bold results shown in Table 6 by applying Eqs. (17), (18) and (19) with \(s\left( \alpha \right) = \alpha ^{1}\).

Table 6 The comparative of the ranking results

For the sets 1–4 and set 6, the new proposal achieves efficient results ranking these TrFNs, which is almost the same as the other ranking methods. In addition, it should be noted that Eqs. (18) and (19) rank the set 6 in the same way as the other methods, while Eq. (17) ranks them slightly different depending on the choice of \(\kappa \) (see Figs. 16, 17 and 18). In these figures, the y-axis represents the ranking index value; the x-axis indicates the value of \(\kappa \in \left[ 0.1,2\right] \). And the vertical line is \(\kappa = 1\), and its crossing points with the curves are the ranking of TrFNs. In addition, the different choices to \(\kappa \) affect the ranking result, as shown in Figs. 16, 17 and 18.

Fig. 16
figure 16

Ranking index using Eq. (17)

Fig. 17
figure 17

Ranking index using Eq. (18)

Fig. 18
figure 18

Ranking index using Eq. (19)

To better illustrate the case \(\kappa = 1\), i.e., \(f\left( \alpha ,\kappa \right) =\frac{\alpha }{\int _{0}^{1}\alpha \,\mathrm{{d}} \alpha } = 2\alpha \), we compute the values of \(\frac{\alpha \times d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}_{*}^{\alpha })}}{\int _{0}^{1}\alpha \,\mathrm{{d}} \alpha } = 2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}_{*}^{\alpha })} \) and \(-\frac{\alpha \times d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}^{*,\alpha })}}{\int _{0}^{1}\alpha \,\mathrm{{d}} \alpha } = -2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}^{*,\alpha })}\) for \(i = 1,2,3\), which are parts of Eqs. (17) and (18), respectively; and shown in Figs. 19 and 20.

Fig. 19
figure 19

The values of \(2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}_{*}^{\alpha })}\) for \(i = 1,2,3\)

Fig. 20
figure 20

The values of \(-2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}^{*,\alpha })}\) for \(i = 1,2,3\)

As we can see, Figs. 19 and 20 indicates that parameter \(\alpha \) has significant effects on the values of \( 2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}_{*}^{\alpha })} \) and \(-2\alpha d_{I}{({\tilde{T}}^{\alpha }_{1},{\tilde{F}}^{*,\alpha })}\) for \(i = 1,2,3\). Furthermore, the final ranking result can be easily obtained as \(\tilde{T}_3\succ \tilde{T}_2\succ \tilde{T}_1\) by using Eq. (17) and \(\tilde{T}_3\succ \tilde{T}_1\succ \tilde{T}_2\) by using Eq. (18), respectively.

However, for the set 5, these fuzzy numbers are symmetric at the vertical line 0.5, no ranking is given for Eq. (19) and other methods, because they treat fuzzy numbers \(\tilde{T}_1\), \(\tilde{T}_2\), and \(\tilde{T}_3\) as equivalent. Whereas, for Eqs. (17) and (18), the ranking are \({\tilde{T}_1\succ \tilde{T}_2\succ \tilde{T}_3}\) and \({\tilde{T}_3\succ \tilde{T}_2\succ \tilde{T}_1}\), respectively. The reason is that the new proposal makes \(d_{f,\alpha ^{1}}\left( \tilde{T}_1,\tilde{T}_{*}\right) = d_{f,\alpha ^{1}}\left( \tilde{T}_1,\tilde{T}^{*}\right) = 0.1053\), \(d_{f,\alpha ^{1}}\left( \tilde{T}_2,\tilde{T}_{*}\right) = d_{f,\alpha ^{1}}\left( \tilde{T}_2,\tilde{T}^{*}\right) = 0.0785\), and \(d_{f,\alpha ^{1}}\left( \tilde{T}_3,\tilde{T}_{*}\right) = d_{f,\alpha ^{1}}\left( \tilde{T}_3,\tilde{T}^{*}\right) = 0.0752\), while the methods presented in [1, 2, 22] are mainly affected by the medium value of the \(\alpha \)-cut of the fuzzy number.

5 Conclusions

This paper focuses on the ranking of fuzzy numbers determined by the distance between them, and the key idea is to define the distance between their \(\alpha \)-cuts. Considering that the \(\alpha \)-cut of a fuzzy number is a continuous interval, this paper has proposed a novel distance between continuous intervals using the concept of integral. The advantage of this approach is that it uses all points in the interval to compute the distance, and its results should be more reliable and correct than the existing classical methods, which usually use the endpoints or midpoints of the interval to compute it, which may lose some information and not reflect the distance correctly. Therefore, using the reduction function with \(\alpha \) as the variable, a series of distances between fuzzy numbers have been proposed based on the proposed interval distances, and it is shown that these distances satisfy the distance axiom for fuzzy numbers. The validity and effectiveness of the proposed interval distances are demonstrated by comparative analysis of numerical examples. Based on these findings, we have introduced a new ranking index for fuzzy numbers and proved its validity by using the set of TrFNs as numerical examples. Furthermore, regarding the implications and insights of the research, the results of this study show that the choice of a parameter \(\kappa \) in the reduction function has a significant impact on the final fuzzy distance and the ranking index of the fuzzy number. This study helps us to understand the design of more appropriate fuzzy distances.

It should also be pointed out that the proposed interval distance has the limitation that when two compared intervals are the same, the integral part cannot be equal to 0, but to one third of the length of the interval. For future research, interval distances can be defined by eliminating the intersection of two comparison intervals, even extending to the p-norm form to define new distances, or using some other aggregation functions to generalize them, rather than just using the integral concept. Moreover, the proposed distances can be interestingly extended to linguistics since linguistic information can be transformed into fuzzy numbers by fuzzy linguistic methods to increase the flexibility of modeling linguistic information.