Algorithm to find the grade of being NE for each mixed strategy
Modern description of game theory is generally considered to have been started with the book "
A game is a model of a situation where two or more groups are in dispute over some issues . The participants in a game are called the players. The possible actions available to players are referred to as strategies. When each player selects a strategy, it will determine an outcome to the game and the payoffs to all players, while tries to maximize his own payoff.
Classical game theory uses the extensive form and the strategic form to explain a game. The extensive form is represented by a game tree, in which the players make sequential actions. However, the strategic form is usually used to describe games with two decision makers, in which players' choices are made simultaneously. Unlike one-player decision making, where optimality has a clear sense, in multi person decision making the optimality is in the form of NE. An NE strategy is a strategy wherein, if a player knows his opponent’s strategy, he is totally satisfied and is unwilling to change his strategy.
In classical game theory it is assumed that all data of a game are known exactly by players. However, in real games, the players are often not able to evaluate exactly the game due to lack of information and precision in the available information of the situation. Harsanyi  treated imprecision in games with a probabilistic method and developed the theory of Bayesian games. This theory could not entirely solve the problem of imprecision in games, because it was limited to only one possible kind of imprecision. However, in reality, imprecision is of different types and can be modeled by fuzzy sets. The notion of fuzzy sets first appeared in the paper written by Zadeh . This notion tries to show that to what degree an element belongs to a set. The degree, to which an element belongs to a set, is an element of the continuous interval [0, 1] rather than the Boolean values. Using the notion of fuzzy sets, each component in a game (set of players, set of strategies, set of payoffs, etc) can be fuzzified. Initially, fuzzy sets were used by Butnariu  in non-cooperative game theory. He used fuzzy sets to represent the belief of each player for strategies of other players. Since then, fuzzy set theory has been used in many non-cooperative [9-15] and cooperative games [16-17].
In this chapter, we will extend the NE set to fuzzy set in games with fuzzy numbers as payoffs. In this regard, using ranking fuzzy numbers, a fuzzy preference relation is constructed over payoffs and then the resultant priorities of payoffs are considered as the grades of being NE. Hence, if a player knows the opponent’s strategy, he is satisfied with his own strategy by the degree that this strategy has priority for him. The more priority the players feel for each strategy, the more possible the strategy becomes the game’s equilibrium. This generalization shows the distribution of Nash grades in the matrix form of the game. In other words, we can consider strategies with high grades of equilibrium which are not necessarily the equilibrium points. In the proposed approach, the effect of different viewpoints (optimism and pessimism) on the result of the game is also studied.
The remainder of this chapter is organized as follows. Section 2 reviews the backgrounds on fuzzy set theory. This section discusses the basic definition of fuzzy numbers, fuzzy extension principle and ranking fuzzy numbers. Section 3 briefly presents the fuzzy preference relation and a way to obtain priorities from fuzzy preference matrix. In this section, preference ordering of the alternatives and its transformation into fuzzy preference relation is also discussed. Section 4 introduces the proposed algorithm to find the Nash grades for pure and mixed strategies in the matrix form of the game. Two examples and their detailed results are presented in Section 5. Finally, Section 6 contains some concluding remarks.
2. Backgrounds on fuzzy set theory
There are two well-known frameworks for quantifying the lack of knowledge and precision, namely, probabilistic and possibilistic uncertainty type. The probabilistic framework deals with the uncertain events with a probability distribution function (PDF). However, there are some situations in which there is not much information about the PDF of uncertain parameters or they are inherently not repeatable. In possibilistic framework, for each uncertain event, a membership functionis defined which describes how much each element, of universe of discourse (the set of all values that can take) belongs to. Different types of membership functions can be used to describe uncertain values. Fuzzy numbers have also been used in many decision making problems. The following definition of fuzzy numbers is most commonly used ;
There is exactly onewith.
2.1. Fuzzy extension principle
Fuzzy extension principle, which was introduced by Zadeh in , is an essential principle in fuzzy set theory to generalize the concepts and structures of classical mathematics to fuzzy mathematics as follows 
Based on the above definition, one-dimensional operators and two-dimensional operators on fuzzy numbers can be represented by the following definitions, respectively.
In definition 3, if, then the scalar product of the real valueinto fuzzy number is a fuzzy number with the following membership function
As a special case, the result of the summation operator is also a fuzzy number as follows
2.2. Ranking fuzzy numbers
Ranking fuzzy numbers seems a necessary procedure in decision making when alternatives are fuzzy numbers. Various methods for ranking fuzzy subsets have been proposed. Yager in  introduced a function for ranking fuzzy subsets in unit interval which is based on the integral of mean of the -cuts. Jain in , Baldwin and Guild in  were also suggested methods for ordering fuzzy subsets in the unit interval. Ibanez and Munoz in  have developed a subjective approach for ranking fuzzy numbers. In this chapter, we use the subjective approach, as introduced in .
Ibanez and Munoz in  defined the following number as the average index for
whereis a subset of the unit interval andis a probability distribution on.
The definition of could be subjective for decision maker. In  the following definition for has been suggested, in which the parameterdetermines the optimism-pessimism degree of the decision maker
When an optimistic decision maker () wants to choose the greatest value, the upper extreme of the interval () would be chosen, i.e. he prefers to choose the greatest possible value. A pessimism person () on the opposite prefers to decide on the lower extreme of the interval ().
Usingin (7), the ordering relations between fuzzy numbers and can be given as
The fuzzy numberis not preferred to, if and only if their average index is the same
As a special case, the average index for triangular fuzzy numbers can be given as follows
where, a triangular fuzzy number with notation is used as shown in Figure 1.
3. Preference relations
3.1. Fuzzy preference relations
Preference relation is one of the most regular tools for stating decision maker's preferences. In the process of making decision, individuals are asked to give their preferences over an alternative, which is based on their comparison according to one's desire. Various kinds of preference relations have been developed including multiplicative preference relation , fuzzy preference relation , linguistic preference relation  and intuitionistic preference relation .
For a decision making situation, let be a discrete set of alternatives. A preference relationon the setis defined by a function, whereis the domain of representation of preference degrees provided by the decision maker for each pair of alternatives. In many situations, due to lack of information about the problems, the goals, constraints and consequences are not precisely known. Because of these uncertainties, fuzzy set theory allows a more flexible framework to express the preferences. Fuzzy preferences show the fuzziness of the decision maker's preferences. In , fuzzy preference relation is defined as follows.
wheredenotes the preference degree of the alternative to.
In particular,shows indifference between and. The case ofindicates thatis preferred to. Asincreases, the degree of preference gets larger. Alsoshows thatis absolutely preferred to and vice versa.
Deriving priorities, that is the degrees of importance of alternatives, are the main aspect of preference relations. Quite a number of approaches have been developed to derive priorities from fuzzy preference relations. Lipovetsky and Michael-Conklin  introduced an optimization approach and an eigen-problem to produce robust priority estimation of a fuzzy preference relation. Xu  developed a weighted least square approach and an eigenvector method for priorities of fuzzy preference relations. Xu and Da  proposed the Least Deviation method to obtain the priority vector of a fuzzy preference relation and considered its properties. In this chapter, we use the Least Deviation method presented in  to derive priorities from fuzzy preference relation. The algorithm to derive priorities in  is mentioned briefly as follows.
Let be a fuzzy preference relation and be the priority vector which is going to be calculated such that shows the degree of priority of alternative, with the following properties
Let be the number of iterations:
If for all, then updateb
3.2. Preference ordering of the alternatives
Individuals usually provide their preferences over the alternatives by preference ordering. Let's assume that an expert expresses his preferences onby a preference ordering. It is assumed that the lower the position of the alternative in the preference ordering, the more contentment for the individual. For instance, an expert states his preference ordering on by the following ordering; . This means that the alternative
3.3. Transforming preference ordering into fuzzy preference relation
An alternative satisfies the decision maker according to its position in the ordering preference relation. Various mappings to transform the ordering preference relation into fuzzy preference relation have been proposed [32-34]. In  a crisp relation was introduced for assessing the fuzzy preference relation, where the preference between alternativesanddepends only on the values of and. In [33-34], the following relations was introduced to achieve fuzzy preference relation from an ordering preference
where denotes the preference between alternativesand.
4. Fuzzy games
In a strategic game, there areplayers and strategies for player. Supposeis the strategy set for player defined as follows
In pure strategy, let denotes the strategy chosen by playerand denotes the strategies chosen by the other players. Then is the payoff achieved by player. By definition of classical game theory, is the pure strategy Nash equilibrium, if and only if 
In mixed strategy, each player assigns a probability distributionover his strategies, where determines all possible probability distributions for player. Then, the expected payoff for playeris the real value, wheredenotes the expectation operator. In this regard, mixed strategy Nash equilibrium is defined as follows
In real games, players must often make their decisions under unclear or fuzzy information. In this regard, there are several approaches for explaining games with fuzzy set theory. As discussed earlier, a game has three main components: a set of players, a set of strategies and a set of payoffs. The set of players is defined as fuzzy set when the concept of coalition in cooperative games is fuzzified. Butnariu in  proposed core and stable sets in fuzzy coalition games, and introduced a degree of participation for players in a coalition. Mares in  considered fuzzy core in fuzzy cooperative games, where possibility for each fuzzy coalition was considered as fuzzy interval, and an extension of the core in classic TU games. He discussed Shapely value in cooperative games with deterministic characteristics and fuzzy coalitions. In , the concept of fuzzy strategies has been introduced. It defines a strategy set consisting of fuzzy subspaces of strategy spaces and assigned a fuzzy payoff for each set of player's strategies. Hence, they have defined a fuzzy inference system (fuzzy If-Then rules). However, they have assumed some real values as strategies and have solved the games with common crisp methods. The first two steps seem rational for modeling any system according to its specifications, however the final step is not a reasonable fuzzy decision making approach to find NEs. Generally, since the final decision of a player is a number in real world problems, they can not adopt fuzzy strategies except when meaningful interpretations exist. However, we should remark that fuzzy strategies are constructive to model the games and calculate the payoffs.
Defining payoffs as fuzzy sets is reasonable in the following two main situations, and lead to fuzzy numbers as payoffs.
When there is not sufficient information about the payoffs and they are not inherently repeatable.
When calculation of payoffs is difficult or time-consuming. Hence, they are usually defined by fuzzy if-then rules.
In this chapter, we consider pure and mixed strategies in games with fuzzy numbers as payoffs. In this regard, in pure strategies,is considered as a fuzzy number. Also, in mixed strategies, the expected values are calculated based on the fuzzy extension principle and definitions 3 and 4, because the payoffs are fuzzy numbers.
4. Playing games with fuzzy numbers as payoffs
In classical game theory, a crisp payoff is either greater than or less than others. However, in fuzzy ones, there are uncertainties in comparing fuzzy payoffs. We model these uncertainties using fuzzy preference relation on the preference ordering of the expected values. In this regard, using ranking fuzzy numbers, a fuzzy preference relation reflecting the uncertainties in payoffs is constructed and then, the resultant priorities of payoffs are considered as the grades of being NE. This definition for the grade of being NE seems meaningful because if a player knows the opponent’s strategy, he is satisfied with his strategy by the degree that this strategy has priority for him. The more priority the players get for each strategy, the more possible the strategy is the game’s equilibrium. The proposed algorithm to find the grade of being NE for every mixed strategy is shown in Table 1.
|1. , do steps 2-9.|
|2. For player, determine the optimism-pessimism degree.|
|3. , do steps 4-9.|
|4. Fix the opponent's mixed strategy.|
|5. , calculate the average index of the resultant expected value according to (11).|
|6. Order the expected values according to their average index in descending order, according to (9).|
|7. Transform the ordering preference relation into fuzzy preference relation according to (18-19).|
|8. Derive priorities of expected values from the resultant fuzzy preference relation based on the least deviation method.|
|9. For every mixed strategy, set its grade of being NE equal to its corresponding priorities.|
|10. For every mixed strategy, set its overall grade of being NE equal to the minimum of its grade of being NE for each player.|
5. Simulation results
5.1. Application in pure strategy
In this subsection, games with two players are considered because of their easier understanding. However, our algorithm can be implemented to more than two players. Consider a fuzzy game, as defined in Table 2. Player one and player two have three strategies, namely a1, a2, a3 and b1, b2, b3, respectively. Each cell includes two fuzzy triangular numbers as payoffs; the first for player one and the second for player two.
Implementing the algorithm presented in Table 1, there can be several grades of being NE for the game corresponding to differents. Tables 3 and 4 present the priority of each payoff according to possible choices of.
The minimum priority of all payoffs in a cell is interpreted now as the grade of being Nash equilibrium of that cell. The results of the mentioned game is tabulated in Tables 5 and 6 for the possible choice of, respectively
The difference between the results of Tables 5 and 6 is meaningful. As the player 2 becomes optimistic, he prefers to choose the greatest possible outcome. Hence, between three alternatives, has the most priority. But a pessimistic player prefers to choose alternative.
5.2. Application in mixed strategy
In this subsection, mixed strategies in bi-matrix games are considered. Consider a fuzzy bi-matrix game as defined in Table 7.
Now, the minimum priorities for players can be interpreted as the overall grades of being NE. We remark that the minimum operator can be replaced by any other T-norms. The results of the game presented in Table 7, is shown in Figure 4.
Grade of being NE is high around two pure strategies, that is and. The mixed strategy has also high grade of being NE.
In addition, the effect of optimism-pessimism degree of players in distribution of Nash grades is studied. For instance, if two players are optimistic (), the Nash grades are the same as Figure 5. If two players are pessimistic (), the Nash grades are the same as Figure 6.
The difference between the results of Figures 4 and 5 is important. As the player becomes optimistic, he prefers to choose the greatest possible outcome. Hence, payoff gets more priority than payoff . In addition, Nash grades for neutral players are approximately the combination of Nash grades for optimistic and pessimistic players.
In this chapter, some concepts in fuzzy sets including fuzzy numbers, fuzzy extension principle, ranking of fuzzy numbers and fuzzy preference relations were briefly introduced and consequently used to develop a new approach for practically analyzing the games with fuzzy numbers as payoffs. In this regard, a fuzzy preference relation was constructed on the preference ordering of payoffs using ranking fuzzy numbers. The priority of each payoff then was derived using the least deviation method. The priorities of payoffs were interpreted as the grades of being NE. We should remark that, in this chapter, we were not looking to show the pure and mixed strategy NEs, but rather we tried to assign a graded membership to each strategy to determine how much it is NE, i.e. it has the possibility for being NE.
Von Neumann J Morgenstern O 1944 Theory of Games and Economic Behavior.New York: Wiley.
Nash J 1950Equilibrium Points in n-Person Games. Proc. Nat. Academy Sci. 36 48 49
Nash J 1950The Bargaining Problem. Econometrica. 18 155 162
Nash J 1951 Non-Cooperative Games.Ann. Math. 54 286 295
Fraser N. M Hipel K. W 1984 Conflict Analysis: Models and Resolutions.New York: North-Holland.
Harsanyi J. C 1967Games with Incomplete Information Played by " Bayesian" Players, i-iii. Management Science. 14 159 182
( Zadeh L. A 1965) Fuzzy Sets. Inform. Contr. 8 338 353.
Butnariu D 1978 Fuzzy Games: A Description of the Concept 1 181 192
Garagic D Cruz J. B 2003an Approach to Fuzzy Non-Cooperative Nash Games. J. Optim. Theory Appl. 118 475 491
Song Q Kandel A 1999 A Fuzzy Approach to Strategic GamesIEEE Trans. Fuzzy Syst. 7 634 642
Vijay V Chandra S Bector C. R 2005 Matrix Games with Fuzzy Goals and Fuzzy Payoffs 33 425 429
Maeda T 2003 On Characterization of Equilibrium Strategy of Two-Person Zero-Sum Games with Fuzzy Payoffs 139 283 296
Nishizaki I Sakawa M 2000 Equilibrium Solutions in Multiobjective Bimatrix Games with Fuzzy Payoffs and Fuzzy Goals 111 99 116
Kim W. K Leeb K. H 2001Generalized Fuzzy Games and Fuzzy Equilibria. Fuzzy Sets and Systems. 122 293 301
Li K. W Karray F Hipel K. W Kilgour D. M 2001 Fuzzy Approach to the Game of Chicken.IEEE Trans on Fuzzy Syst. 9 608 623
( Mares M 2001) Fuzzy Cooperative Games. Heidelberg: Physica-Verlag.
Butnariu D 1979Solution Concepts for n-Person Fuzzy Games. Advances in Fuzzy Set Theory and Applications. 339 354
Zimmermann H. J 1996 Fuzzy Set Theory and its Applications.Kluwer Academic Publishers.
Zadeh L. A 1975 The Concept of Linguistic Variable and Its Application to Approximate Reasoning.Inform. Sci. 8 199 249
Yager R. R 1986 A Characterization of the Extension PrincipleFuzzy Sets and Systems. 18 205 217
Yager R. R 1981 A Procedure for Ordering Fuzzy Subsets of the Unit IntervalInform. Sci. 24 143 161
Jain R 1977 A Procedure for Multiple Aspect Decision Making Using Fuzzy SetsInt. J. Systems Sci. 8 1 7
Baldwin J. F Guild N. C. F 1979 Comparison of Fuzzy Sets on the Same Decision Space 2 213 231
Ibanez L. M. C Munoz A. G 1989 A Subjective Approach for Ranking Fuzzy Numbers 29 145 153
Saaty T. L 1980The Analytic Hierarchy Process. New York: McGraw-Hill.
S. A Orlovsky 1978 Decision-Making with a Fuzzy Preference Relation 1 155 167
Herrera F Herrera-viedma E Verdegay J. L 1995 A Sequential Selection Process in Group Decision Making with Linguistic Assessment. Information Science. 223 239
Atanassov K 1986Intuitionistic Fuzzy Sets. Fuzzy Sets and Systems. 87 96
Michael Conklin W ( Lipovetsky S 2002 Robust Estimation of Priorities in the AHP 137 110 122
Xu Z 2002Two Methods for Priorities of Complementary Judgment Matrices_Weighted Least-Square Method and Eigenvector Method. Systems Engineering-Theory & Practice. 22 71 75
Xu Z Da Q 2005 A Least Deviation Method to Obtain the Priority Vector of a Fuzzy Preference Relation. 164 206 216
Chiclana F Herrera F Herrera-viedma E Poyatos M. C 1996 A Classification Method of Alternatives for Multiple Preference Ordering Criteria Based on Fuzzy Majority.Journal of Fuzzy Mathematics.
Dombi J 1995A General Framework for the Utility-Based and Outranking Methods. Fuzzy Logic and Soft Computing. 202 208
Tanino T 1988Fuzzy Preference Relations in Group Decision Making. Non-Conventional Preference Relations in decision making. Springer. 54 71
Fudenberg D Tirole J 1991 Game TheoryMIT Press, Cambridge, MA.