Abstract

In this paper, we investigated the notion of a linear Diophantine fuzzy set (LDFS) by using the concept of a score function to build the LDF-score left (right) ideals and LDF-score (0,2)-ideals in an AG-groupoid. We used these newly developed LDF-score ideals to characterize an AG-groupoid. We then use the proposed structure in multiattribute decision-making by considering bridge design selection and artificial intelligence-based chatbot selection.

1. Introduction

The commutative law in ternary operations is given by . By adding brackets on the left of this equation, that is, , Kazim and Naseeruddin proposed a novel algebraic structure called an LA-semigroup (left almost semigroup) [1]. The left invertive law identifies this identity. An AG-groupoid (Abel–Grassmann’s groupoid) was coined by Protic and Stevanovic to describe the same structure [2]. This nonassociative (noncommutative) algebraic structure falls between a groupoid and a commutative semigroup [3]. In [1], it was shown that an AG-groupoid is medial; that is, holds for all . A left identity may or may not exist in an AG-groupoid. The left identity of an AG-groupoid allows the inverses of elements. If an AG-groupoid has a left identity, then it is unique [3]. An AG-groupoid with a left identity is called an AG-group if it has inverses [4]. The paramedial law holds for all in an AG-groupoid with a left identity. We can get for all by applying the medial law with the left identity. For the interest of the reader, some recent applications of AG-groupoids in decision-making can be found, for example, in [5, 6].

In traditional set theory, an element is either in or out of the set. Fuzzy set theory, on the other hand, allows for the gradual determination of the membership of elements in a set, which is represented using a membership function having a value in the real unit interval [0, 1]. To deal with real-world uncertain and ambiguous problems, strategies commonly used in classical mathematics are not always useful. In 1965, Zadeh [7] proposed the concept of a fuzzy set (FS) as an extension of the classical notion of sets. In many cases, however, because the membership function is a single-valued function, it cannot be used to represent both support and objection evidence. The intuitionistic fuzzy set (IFS), which is a generalization of Zadeh’s fuzzy set, was introduced by Atanassov [8]. IFS has both a membership and a nonmembership function, allowing it to better express the fuzzy character of data than Zadeh’s fuzzy set, which only has a membership function. In some real-life scenarios, however, the sum of membership and nonmembership degrees acquired by alternatives satisfying a decision-maker (DM) characteristic may be larger than 1, while their sum of squares is less than or equal to 1. Therefore, Yager [9] introduced the idea of the Pythagorean fuzzy set (PFS) with membership and nonmembership degrees that fulfill the condition that the total squares of their membership and nonmembership degrees are less than or equal to 1. By Atanassov [10], PFS is also known as IFS of type 2. Many scholars have researched another model known as a q-rung orthopair fuzzy set (q-ROFS) to expand the space of IFS and PFS [1113].

In real life, variations in the cycle (periodicity) of the data happen simultaneously as vagueness and uncertainty in the data. The existing concepts and approaches available for the fuzzy information were not capable of dealing with membership and nonmembership functions taken from any part of the domain; instead, they impose strict conditions on them, resulting in some information loss during the process. To overthrow it, the concept of linear Diophantine fuzzy sets (LDFSs) was given in [14] to express uncertainty in decision-making. LDFS is more versatile and dependable than current ideas such as intuitionistic fuzzy sets (IFSs), Pythagorean fuzzy sets (PFSs), and q-rung orthopair fuzzy sets (q-ROFSs) because it includes reference or control factors with membership and nonmembership functions. Almagrabi et al. suggested a new generalization of the Pythagorean fuzzy set, q-rung orthopair fuzzy set, and linear Diophantine fuzzy set, named q-linear Diophantine fuzzy set (q-LDFS), and analyzed its key properties [15].

The main aim or motivation of this paper is to develop an algorithm for multiattribute decision-making by considering LDF-score (0,2)-ideals of AG-groupoids. An ideal of an AG-groupoid decomposes it, which makes it easy to study the characteristics of the AG-groupoid. Besides the (0,2)-ideals, some other ideals include interior ideals, bi-ideals, etc. To construct an LDF-score (0,2)-ideal, the concept of LDFSs is considered, and some characterization problems in terms of this ideal are constructed. Then, an algorithm to rank alternatives of a decision-making problem via the LDF-score (0,2)-ideal is developed. In the end, some practical applications of LDFNs are also thoroughly discussed.

There are a total of six sections in this paper. In Section 1, a brief introduction of AG-groupoids is given along with the historical literature review of fuzzy set theory. Section 2 provides the basic definitions to develop an understanding of the forthcoming sections. Section 3 deals with some novel results regarding the structural properties of LDF-score (0,2)-ideals and also provides the algorithm for multiattribute decision-making with the help of the LDF-score (0,2)-ideals. In Section 4, some real-life applications of the proposed algorithm are given. In Section 5, a discussion and comparison of various spaces of fuzzy sets are given in detail, and in Section 6, a comprehensive conclusion comprising the summary, limitations, and future work is given.

2. Preliminaries

In this section, we discuss the score and accuracy functions for the comparative analysis of linear Diophantine fuzzy numbers (LDFNs). Note that the concept of LDFS is similar to that of the well-known linear Diophantine equation from number theory.

Definition 1. (see [14]). Let be a nonempty reference set. A linear Diophantine fuzzy set is an object of the form:where and are real-valued membership and nonmembership functions, respectively, such thatsatisfyingFor convenience, let be a linear Diophantine fuzzy number (LDFN), where and are reference parameters. These reference parameters can contribute to the categorization of a particular system. By altering the physical meaning of these parameters, we can categorize the system.
In order to rank the LDFNs, we now propose the idea of the score function as follows.

Definition 2. Let be an AG-groupoid and be the set of all LDFNs. The score function on can be defined by the mapping and given bywhere , is the score function, and is the score of .
In particular, if , then the LDFN takes the largest value , , and or , , and . On the other hand, if the score function attains the minimum value, i.e., if , then the LDFN takes the smallest value and or and .
Let and be two LDFSs on a domain ;then, for , and are LDFNs. Let and be given as follows:and then by Definition 2, and , implying that .
If we now define another LDFN, is as follows:and then again by Definition 2, . From here, we see . To distinguish score-equivalent LDFNs, we give the following definition.

Definition 3. Let be an AG-groupoid and be the set of all LDFNs. The accuracy function on can be defined by the mapping and given bywhere , is the accuracy function, and is the accuracy degree of .
Considering the same LDFN and given above, by Definition 3, we see that and , implying that, although , we have .
The relationship between the score function and the accuracy function has been established to be similar to the relationship between the mean and variance in statistics [16]. In statistics, an efficient estimator is described as a measure of the variance of an estimate’s sampling distribution; the lower the variance, the better the estimator’s performance. On this basis, it is reasonable and appropriate to say that the higher an LDFN’s accuracy degree, the better the LDFN. In [17, 18], the techniques were developed for comparing and rating two IFNs and IVIFNs, respectively, based on the score and accuracy functions, which were motivated by the aforementioned study. We can now compare and rate two LDFNs, in the same way, using the score and accuracy functions, as shown below.

Definition 4. Let , and then, the comparison of and is given as follows:(i)If , then (ii)If , thenIf , then If , then .

Remark 1. Let be a set of all LDFNs and be a score function, and then, we have the following:(i) increases with respect to the membership functions and (ii) decreases with respect to the nonmembership functions and .

3. LDF-Score (0,2)-Ideals of an AG-Groupoid

In this section, we introduced the concepts of linear Diophantine fuzzy score left (right) ideals and linear Diophantine fuzzy score (LDF-score) -ideals in an AG-groupoid using the notion of a score function. We intended to answer a question about the connection between LDF-idempotent subsets of an AG-groupoid and its LDF-score (0,2)-ideals, particularly when an LDF-idempotent subset of is an LDF-score (0,2)-ideal in terms of an LDF-score right ideal and an LDF-score left ideal of . Some characterization problems are also provided in terms of LDF-score (0,2) -ideals. Finally, we give a method to rank different alternatives on the basis of given reference parameters.

3.1. Characterization Problems

Note that the results of this section can be followed simply for the case of fuzzy sets, which will be an extension of the results obtained in [19, 20].

If is an AG-groupoid with the product , then and , andboth will denote the product and . Similarly, will denote the product .

Definition 5. (see [21]). An AG-groupoid is called a regular AG-groupoid if for each , there is an , with .

Definition 6. (see [21]). An AG-groupoid is called a strongly regular AG-groupoid if for each , there exists , such that and

Definition 7. (see [22]). A completely inverse AG-groupoid is an AG-groupoid satisfying the identity , where is an inverse of ; that is, and for all .
Let be an AG-groupoid. Then, represents a collection of complete inverses of .
An -groupoid is an AG-groupoid if for all . The paramedial law is also satisfied by an -groupoid. It is worth noting that an -groupoid is the generalization of an AG-groupoid with the left identity since an AG-groupoid with the left identity is an -groupoid, but not the other way around.

Lemma 1. An -groupoid is strongly regular if and only if for all .

Proof. Necessity. Let . Then, there exists some such that and . Now, . It is easy to prove that and , which implies that for all sufficiency. It is obvious.

Corollary 1. An AG-groupoid with the left identity is strongly regular if and only if for all .

The proof of the following two lemmas is the same as in [23].

Lemma 2. Let be an AG-groupoid. For , the following holds.(i)(ii).

Lemma 3. If is any score function of an AG-groupoid , then is an LDF-score right ideal of if and only if .

Definition 8. (see [24]). A non-empty subset of an AG-groupoid is called a -ideal of if .

Definition 9. Let be a score function of an AG-groupoid and . Then, is called an LDF-score (0,2)-ideal of ifThe proof of the following two lemmas is the same as in [25].

Lemma 4. If is any score function of an AG-groupoid , then is an LDF-score (0,2)-ideal of if and only if .

Lemma 5. Let be an AG-groupoid and . Then, is a -ideal of if and only if is an -score -ideal of .

Theorem 1. Let be an -idempotent subset of an AG-groupoid with the left identity. Then, the following conditions are equivalent:(i), where is an-score right ideal and is an -score left ideal of (ii) is an -score -ideal of .

Proof. : We can obtain the following by using Lemma 3:As a result of Lemma 4, is an -score -ideal of .
: Setting and and then using Lemma 4, we obtainThis is what we set out to show.

Remark 2. Assume that is an AG-groupoid with the left identity and . The smallest -ideal of containing is .

Theorem 2. Assume that is an AG-group. Then, the following conditions are equivalent:(i)(ii), where is the smallest -ideal of containing (iii), where both and are any -ideals of (iv), where both and are any -score (0,2)-ideals of .

Proof. : Let and be both LDF-score -ideals of with the left identity such that . Now, for , there exists some such thatThus, by using Lemma 4, we get .
: Let and be any -ideals of . Then, by Lemma 5, and are the -score -ideals of . Let . Then, by using Lemma 2, we havewhich implies that , and therefore, . It is easy to see that , and therefore, .
: It is obvious.
: Since is the smallest -ideal of containing , therefore , which implies that for some . Thus, . Similarly, we can get . Hence, by Lemma 1, .

Definition 10. An AG-groupoid is called left zero if for all .

Lemma 6. Let be a left zero AG-groupoid with the left identity and be a score function of . Then, for any idempotent elements and of , .

Proof. It is simple.

Lemma 7. The following conditions are equivalent for an AG-groupoid with the left identity:(i)The set of all idempotent elements of forms a left zero AG-subgroupoid of (ii)For every LDF-score (0, 2)-ideal of , for all idempotent elements and of .

Proof. : It can be followed from Lemma 6.
: Since contains a left identity, it is obvious that . If we consider , we can see that is the (0,2)-ideal of . Using Lemma 5, the characteristic function is an LDF-score (0,2)-ideal of . As a result of the assumption, we get , and hence, . Thus, for some , we have .

Lemma 8. Every LDF-score (0,2)-ideal of an AG-group is a constant function.

Proof. If , thenThis indicates that . As a conclusion, is a constant function.

Theorem 3. Let be an AG-groupoid with the left identity such that . Then, the following conditions are equivalent:(i) is an AG-groupoid(ii)For every LDF-score (0,2)-ideal of , for all idempotent elements and of (iii)The set of all idempotent elements of forms a left zero AG-subgroupoid of .

Proof. : It can be simply followed from Lemma 8.
: Since the characteristic function is an LDF-score (0, 2)-ideal of and , so , and hence, , implying that for some . Similarly, for some , one may obtain . Consequently, . As and , we obtain . Thus, . Hence, . This shows that is an AG-groupoid.
: It can be followed from Lemma 7.

3.2. MADM through LDF-Score (0,2)-Ideals of AG-Groupoids

Life is all about making decisions. A lot of people avoid taking responsibility when faced with problems or making important decisions. The impact of decision-making comes in the way it helps you decide among various alternatives. Decision-making is a conceptual process that assists you in visualizing the implications of your choices. It enables you to determine the optimal strategy for achieving your goals and objectives, eventually determining your outcome. According to contemporary decision-making theory, the multiattribute decision-making (MADM) approach is important for addressing the significant problems in our everyday life.

It is supposed that a decision-maker (DM) must review and evaluate a set of alternatives with various characteristics. MADM seeks to identify or rate the most preferable alternatives in order to improve decision-making. Certain traditional methods, such as the consensus-based TOPSIS-sort-B method [26] and techniques for decision-making with multigranular unbalanced linguistic information [27], have been attempted to solve MADM problems.

Attribute values are required decision-making data in MADM situations. The attribute values represent the options’ features, benefits, and abilities. Because of the complexity of the real world and humans’ limited information and perceptual abilities, the values of attributes are unknown. As a result, decision-makers are unable to express their preferences or evaluations directly. Therefore, a mechanized mathematical algorithm is required to solve such a problem.

We now devise a MADM technique to see which alternative is a good choice for further analysis on the basis of the given reference parameters.

Let us assume that a decision maker is trying to make a decision for a collection of alternatives. Then, the steps of MADM via the LDF-score (0,2)-ideal are broken down as follows:Step 1: take the collection of alternatives and label them asStep 2: construct an AG-groupoid on collection under a combination rule “Step 3: define the reference parameters and Step 4: take the attributes with reference parameters and and define an LDFS on themStep 5: define LDFNs on Step 6: create an LDF-score -ideal of Step 7: rank all the LDFNs by using the score function (use the accuracy function if scores are equal)

4. Applications of LDFNs and LDF-Score (0,2)-Ideals

We can utilize mathematical modeling for ranking different alternatives, but an LDFN approach is preferable to others due to the expanded space and unrestricted choice of the parameters and that are chosen based on the preferences of the decision-makers.

For instance, let us consider an example of an automated traffic signal at an intersection. Traffic lights are controlled by counting the number of cars waiting to cross on any side, and a fuzzy function bridges the gap between the number of cars and traffic light timing. Let us consider the scenario where the counting of cars can no longer happen due to camera malfunction. The automated system has the historic data on traffic at any specific time of the day and can keep using it to automate traffic lights. The problem is that the system is not being actively monitored and that there is always a doubt about the accuracy of implementing historic data to real-time problems. If this system is working with simple intuitionistic fuzzy sets of the type , there is no way to introduce uncertainty for the values of and . LDFS can solve this problem by introducing the reference parameters and .

4.1. Selection of Bridge Designs

In civil engineering, bridge construction is among the most demanding task a civil engineer is required to perform. Since ancient times till now, bridges have been used to cross rivers, valleys, and roadways, allowing people to travel between different parts of the country. Because each structure has distinct needs to meet, such as span clearance, traffic flow, geometry, and the peculiarities of the construction site, a wide range of bridges can be built. When it comes to creating a road network, a civil engineer’s choice of bridge design is critical.

Assume that a construction company wants to construct bridges for a highway project. It wants to select the best construction design with lots of features and having less completion time. Let be the set of some bridge designs elaborated as follows:(i): a design with support beams in the form of curved arches at each end(ii): a design whose superstructure or load-bearing portion is made up of connected triangle-shaped sections called trusses(iii): a design that has its deck suspended on vertical suspenders from below suspension cables.

To take a decision that will rank the available alternatives according to the attribute “environmental condition,” we will utilize an LDF-score (0,2) -ideal of an AG-groupoid. The rankings of the LDFNs associated with each design in the collection will decide the rankings.

Let us consider the collection of bridge designs under the combination rule given in Table 1.

It is easy to see that is an AG-groupoid.

Let us define the parameters and as in Table 2.

Let us define the set of LDFS on as follows:where the LDFNs are defined in Table 3.

Table 3 shows that is an LDF-score (0,2)-ideal of .

All of the alternatives are sorted according to their respective scores. If two scores are equal, the accuracy function can be used to sort the alternatives. Figure 1 represents the visualization of the score, accuracy, and ranking comparison for .

The preferences of the alternatives based on an LDF-score (0, 2)-ideal on can be seen in Table 4.

Let us consider the same collection of bridge designs under the combination rule given in Table 5.

One can easily verify that forms an AG-groupoid.

Defining an LDFS, we obtainon , and the corresponding values are listed in Table 6.

We can see that is an LDF-score -ideal of . Figure 2 represents the visualization of score, accuracy, and ranking comparison for .

The preferences of the alternatives based on an LDF-score -ideal on can be seen in Table 7.

4.2. Selection of AI-Based Chatbots

Artificial intelligence (AI) chatbots use machine learning to interact with humans. Weizenbaum, an MIT scientist, created the first AI chatbot in the 1960s [28]. Chatbot technology has advanced substantially in recent years. It interacts with people on a personal and emotional level. Artificial intelligence-powered chatbots are revolutionizing customer care experience. They understand the context and meaning of words. They can use questions to elicit purpose and assist in the resolution of customer issues. The programs in chatbots analyze human speech and respond appropriately using modern natural language processing (NLP) algorithms.

Assume that an IT company is looking for the best AI chatbot for customer engagement and customer service. As a consequence, the company’s top executives agreed to do a feasibility study on several AI bots.

The selection has to be made from the collection of five chatbots elaborated as follows:(i): It is the world’s most human-like talking bot. The chatbot has received the Loebner Prize for the most human-like conversation on many occasions.(ii): It distinguishes from its competitors by providing a solution that allows one to construct his own chatbots without requiring any coding skills.(iii): It improves your company’s customer service, marketing, and sales activities all at the same time.(iv): It is easy to use and does not require any coding knowledge. Advanced chatbots can be built for education, customer support, sales, and the HR department.(v): It has advanced automation and integration assists to connect with the audience in real-time. Anyone with no coding experience can use the program to construct effective chatbots.

To take a decision that will rank the available alternatives according to the attribute “customer rating,” we will utilize an LDF-score (0, 2)-ideal of an AG-groupoid. The rankings of the LDFNs associated with each bot in the collection will decide the rankings.

Let us consider the collection of bots under the combination rule given in Table 8.

One can easily verify that forms an AG-groupoid.

Let us define the parameters and as shown in Table 9.

Now, we consider the following LDFS on :where are LDFNs as given in Table 10.

It is obvious from the table that is an LDF-score (0, 2)-ideal of .

All of the alternatives are sorted according to their respective scores. If two scores are equal, the accuracy function can be used to sort the alternatives. Figure 3 represents the visualization of the score, accuracy, and ranking comparison for .

The preferences of the alternatives based on an LDF-score (0, 2)-ideal on can be seen in Table 11.

Now, we consider the collection of bots under the combination rule given in Table 12.

It is easy to verify that is an AG-groupoid.

Now, we define the collection of LDFS on as follows:where are LDFN and are provided in Table 13.

It is obvious from Table 13 that is an LDF-score (0, 2)-ideal of . Figure 4 represents the visualization of score, accuracy, and ranking comparison for .

The preferences of the alternatives based on an LDF-score (0, 2)-ideal on can be observed in Table 14.

Again, we consider the collection of bots under the combination rule given in Table 15.

Clearly, forms an AG-groupoid.

Now, we define the collection of LDFS on as follows:where are LDFN and are provided in Table 16.

Again, it can be checked from the table that is an LDF-score (0, 2)-ideal of . Figure 5 represents the visualization of the score, accuracy, and ranking comparison for .

The preferences of the alternatives based on an LDF-score (0, 2)-ideal on are given in Table 17.

The parameters and in the above examples are chosen based on the preferences of decision-makers, whereas attribute functions are determined based on actual facts. The primary advantage of reference parameters is that we can choose the attribute functions we want without being constrained by the condition. The evaluation is parameterized by these parameters, which expand the space of our mathematical model. On the same reference set , we can define various LDFSs for distinct sets of parameters. Simply expressed, it is clear to see that the input data values chosen start outside of the IFS and PFS spaces.

5. Discussion and Comparison

Fuzzy information techniques include fuzzy sets, intuitionistic fuzzy sets, Pythagorean fuzzy sets, and q-rung orthopair fuzzy sets. There are, however, significant restrictions, such as FS’s inability to perform nonmembership functions. IFS overcame this problem; however, it imposed strong restrictions on membership and nonmembership functions, restricting the potential space. To address this issue, PFS and q-ROFS boosted potential space even further, yet the vast majority of it remained unused. LDFS makes use of the entire region, allowing users to freely select membership and nonmembership functions from any point in space. In various MADM scenarios, we encounter various types of criteria and input data depending on the circumstance. The space comparison is given in Figure 6.

The optimum choice of bridge designs carried out through LDF-score (0, 2) -ideals of two different AG-groupoids is given in Table 18.

The optimum choice of chatbots carried out through LDF-score (0, 2)-ideals of three different AG-groupoids is given in Table 19.

It is evident that, for both AG-groupoids and , the “truss design bridge” is ranked as no. 1. For the selection of AI-based chatbot problems, the chatbot , which is “ProProfs,” is the most optimum option to select via all AG-groupoids , , and .

6. Conclusion

A crucial and essential area of research for multiattribute decision-making (MADM) is how to encode these perplexing pieces of information. IFSs, PFSs, and q-ROFSs are all great approaches to dealing with ambiguous data. Although LDFSs are more generic, by integrating reference/control parameters, they excel at easing the restrictive limits of IFS, PFS, and q-ROFS. The tactics used for this assignment are mostly determined by the type of problem being examined. Our everyday lives are erratic, imprecise, and blurry. The present structures are based on the assumption that decision-makers take into account defined limitations while evaluating various alternatives and characteristics. However, given other circumstances, this type of scenario prevents decision-makers from allocating membership grades and nonmembership grades. To address these constraints, the LDFS technique utilizes two reference or control parameters in place of membership grades and nonmembership grades.

In this research, we used LDF data along with the AG-groupoid to tackle real-world multiattribute decision-making problems. We reviewed the advantages of LDFS over other strategies and compared the ranks of other alternatives by changing the AG-groupoids over the exact same problem.

As the applications considered in this paper are from very diverse fields of science, i.e., one from engineering and the other from information technology. It is therefore observed that the propound method is a very useful tool for decision-making in a wide variety of real-life scenarios. Another advantage of this method is the freedom of choice for LDFNs in the space of LDFSs because an LDFS does not impose restrictions on membership and nonmembership functions; therefore, the proposed method could also be applied to other types of fuzzy sets such as intuitionistic fuzzy sets, picture fuzzy sets, and q-rung orthopair fuzzy sets. Since the LDFS could be generalized to interval-valued LDFS by considering membership and nonmembership functions as intervals instead of numbers, hence the proposed method could also be generalized to interval-valued LDF-score (0,2)-ideals.

Data Availability

The data used to support the findings of this study are included in the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.

Acknowledgments

The authors extend their appreciation to the Deanship of Scientific Research at King Khalid University for funding this work through the Small Groups Project under grant number (R.G.P.1/383/43).