Next Article in Journal
Modified Adomian Method through Efficient Inverse Integral Operators to Solve Nonlinear Initial-Value Problems for Ordinary Differential Equations
Next Article in Special Issue
Latent Multi-View Semi-Nonnegative Matrix Factorization with Block Diagonal Constraint
Previous Article in Journal
Inexact Restoration Methods for Semivectorial Bilevel Programming Problem on Riemannian Manifolds
Previous Article in Special Issue
MEM and MEM4PP: New Tools Supporting the Parallel Generation of Critical Metrics in the Evaluation of Statistical Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Chromatic Number of Fuzzy Graphs: Operations, Fuzzy Graph Coloring, and Applications

College of Mathematics and Statistics, Northwest Normal University, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
Axioms 2022, 11(12), 697; https://doi.org/10.3390/axioms11120697
Submission received: 2 November 2022 / Revised: 26 November 2022 / Accepted: 2 December 2022 / Published: 5 December 2022
(This article belongs to the Special Issue Soft Computing with Applications to Decision Making and Data Mining)

Abstract

:
We focus on fuzzy graphs with crisp vertex sets and fuzzy edge sets. This paper introduces a new concept of chromatic number (crisp) for a fuzzy graph G ˜ ( V , E ˜ ) . Moreover, we define the operations of cap, join, difference, ring sum, direct product, semiproduct, strong product, and Cartesian product of fuzzy graphs. Furthermore, the exact value or the upper boundary of the chromatic number of these fuzzy graphs is obtained based on the α -cuts of G ˜ . Finally, two applications of the chromatic number to solve the timetabling problem and the traffic light problem are analyzed.

1. Introduction

Many real-world problems, such as those in information theory, telecommunications, medical diagnosis, transportation, cluster analysis, traffic networks, and so on, have been mathematically modelled by using graphs G ( V , E ) since Euler’s introduction of graph theory in 1735. Although classical graph theory has been widely used in various aspects, it still has some limitations in dealing with incomplete data and uncertain information. For instance, the traffic congestion at an intersection is due to multiple uncertain factors that include the number of vehicles, cycle length of the traffic light, road conditions, and so on. Therefore, a more appropriate tool is needed to handle these vague phenomena in real-life situations.
Many researchers have studied various types of fuzzy graphs since Zadeh [1] introduced the fuzzy theory in 1965. The fuzzy graphs with crisp vertex sets and fuzzy edge sets, also known as type 1 fuzzy graphs, were originally proposed by Kaufmann [2] in 1973. Furthermore, Rosenfeld [3] introduced type 2 fuzzy graphs with fuzzy vertex sets and fuzzy edge sets. Subsequently, many scholars have made a lot of generalizations about fuzzy graphs. For instance, Mordeson and Peng [4] defined the concept of complementariness in fuzzy graphs and studied some operations on fuzzy graphs in 1994. In the same year, Craine [5] investigated the characteristics of fuzzy interval graphs. With the development of fuzzy graph theory, R.H. Goetschel [6] first described the concept of fuzzy hypergraphs in 1995 and gave an α -cut of a fuzzy hypergraph. It was Gong and Wang who investigated the operations of fuzzy and strong fuzzy r-uniform hypergraphs, such as Cartesian products, strong products, normal products, lexicographic products, unions, and joining in [7]. Notably, in [8,9], they analyzed the equivalence relationship between fuzzy hypergraphs and fuzzy formal concept analysis and fuzzy information systems so as to use fuzzy hypergraphs to process fuzzy information. Thereafter, Gong and Wang proposed a hesitant fuzzy hypergraph model and investigated some operations and the equivalence relationship of hesitant fuzzy hypergraphs in [10]. In order to better analyze fuzzy graphs, Blue et al. [11] discussed the classification of fuzzy graphs based on the various types of “fuzziness” in graphs, then provided algorithmic solutions to the problems of shortest paths and minimum cuts in fuzzy graphs with examples. The concept of bipolar fuzzy graphs and strong bipolar fuzzy graphs was initiated by Akram [12], who then investigated some important properties of these fuzzy graphs. Recently, Talal Alhawary [13] defined the direct product, semistrong product, and strong product on type 2 fuzzy graphs. Mathew et al. [14] introduced transitive blocks together with their applications in fuzzy interconnection networks. Furthermore, Binu et al. [15] proposed a connectivity index for a fuzzy graph and its application to human trafficking. For more information on fuzzy graphs, readers can refer to [16,17,18,19,20,21].
Graph coloring is one of the most studied problems in combinatorial optimization. The classical graph-coloring problem is to group objects into as few groups as possible, subject to the constraint that no incompatible objects end up in the same group. The smallest number of groups that is needed to color a graph is called the chromatic number. Many problems in practical situations can be modeled as coloring problems, which are known to be NP-hard [22]. The applications of the graph-coloring problem include wiring problems [23], printed circuits [24], frequency assignment problems [25], resource allocation [26], a wide variety of scheduling problems [27,28,29,30], computer register allocation [31], and so on.
Many researchers have experimented with various graph colorings. In some cases, ambiguity is used in coloring problems of fuzzy graphs when dealing with uncertainties such as vagueness. In the year 2005, the process of coloring the fuzzy graphs was implemented by Mu n ˜ oz [32], who initiated two methods by which to color the vertices of the fuzzy graphs with a crisp vertex set and a fuzzy edge set (the type 1 fuzzy graphs) by means of α -cut coloring of the graphs with α [ 0 , 1 ] and an extension of distance defined between colors. In that paper, Mu n ˜ oz et al. also discussed the application of α -cut chromatic numbers in arranging traffic flows at an intersection and the application of the second coloring method in timetabling problems. Furthermore, Eslahchi and Onagh [33] constructed this method for fuzzy graphs with fuzzy vertex sets and fuzzy edge sets (the type 2 fuzzy graphs) based on strong adjacencies between vertices. In a similar way, Kishore and Sunitha [34] investigated the strong coloring and chromatic number of type 2 fuzzy graphs based on strong adjacencies between vertices. They also demonstrated how to use strong coloring on fuzzy graphs to solve traffic light problems. Cioban [35] then proposed a method for vertex coloring of type 2 fuzzy graphs by using delta-fuzzy independent vertex sets with δ [ 0 , 1 ] , and the chromatic number was dubbed the δ -chromatic number. Recently, an application of vertex coloring on these graphs to solve a cell site assignment problem in a telecommunications network was given by Keshavarz [36]. Moreover, Anjaly Kishore et al. [37] discussed the chromatic number of the resultant type 2 fuzzy graphs in 2016. In the same year, a new concept of coloring fuzzy graphs was introduced by Sovan Samanta et al. in [38]. Sovan Samanta also described some concepts, such as the strength cut graph and the chromatic number of fuzzy graphs.
Even though type 2 fuzzy graphs have been widely used in many research fields, it is more adaptable and perfect to use type 1 fuzzy graphs for some real-life problems. Susana Mu n ˜ oz et al. [32], for example, used the chromatic number of a type 1 fuzzy graph to analyze traffic lights and a timing problem. Rosyida et al. [39] proposed a new approach to determining the fuzzy chromatic set of fuzzy graphs and verified that the fuzzy chromatic number of fuzzy graphs is a discrete fuzzy number. In that paper, an application of the fuzzy chromatic number of fuzzy graphs to the problem of medical virus infection at some locations was given. Subsequently, Rosyida offered an application of the fuzzy chromatic number to determine the number of phases of an integrated traffic light system in 2020 [40]. Due to the practicability of the type 1 fuzzy graph in real-life situations, we will continue to study this type of fuzzy graph. To the best of our knowledge, the operations on type 1 fuzzy graphs and the relationship between the chromatic numbers of fuzzy graphs and the resultant fuzzy graphs obtained by performing various operations on fuzzy graphs have not been investigated until now.
The structure of this article is as follows. Section 2 discusses some basic concepts in fuzzy set theory and the operations on fuzzy graphs, and a new definition of the chromatic number of fuzzy graphs is given. In Section 3, we investigate the relationship between the chromatic numbers of fuzzy graphs and that of the resultant fuzzy graphs obtained by performing various operations on fuzzy graphs such as union, cap, join, difference, ring sum, and different types of products. In Section 4, an application example based on the coloring of fuzzy graphs with crisp vertex sets and fuzzy edge sets is provided. Finally, conclusions are given in Section 5. We discuss some terminologies in fuzzy graphs and fuzzy graph coloring, as cited in [32,39,40].

2. Preliminaries

In this section, we first recall some definitions in graph theory, fuzzy set theory, and fuzzy graph coloring that will be used in constructing chromatic numbers of fuzzy graphs. Then the definitions of operations on fuzzy graphs are introduced.

2.1. K-Coloring of Crisp Graph

A classical graph G ( V , E ) consists of a nonempty vertex set V = V ( G ) and an edge set E = E ( G ) . An edge ( u , v ) is said to be incident to the vertices u and v. Two vertices linked by an edge are called adjacent. Furthermore, we call classical graph G ( V , E ) as a crisp graph.
For a crisp graph G ( V , E ) , there are two approaches to defining the k-coloring. In the first approach, a proper k-coloring of a graph G ( V , E ) with vertex set V ( G ) and edge set E ( G ) is a mapping f from V to the set { 1 , 2 , , k } such that f ( u ) f ( v ) whenever ( u , v ) is an edge in E. The chromatic number of G is the smallest k for which G admits a proper k-coloring, written by χ ( G ) . In the second approach, a k-coloring of graph G ( V , E ) is viewed as a partition of { S 1 , S 2 , , S k } of V, where S i denotes the (possibly empty) set of vertices assigned colour i ( i = 1 , 2 , , k ) , S i S j = for i j , and S 1 S 2 S k = V . A graph is k-colourable if it has a k-coloring. The minimum k for which a graph G is k-colourable is called its chromatic number.
In the year 2007, Cioban [35] generalized the concept of k-coloring of crisp graph G in fuzzy graphs by partitioning of the vertex set of G into independent vertex sets. A vertex subset S V is described as an independent vertex set of G ( V , E ) if ( u , v ) E for all u , v S .

2.2. Basic Concepts in Fuzzy Sets

Definition 1 
([1]). Let X be a nonempty universal set. A fuzzy set A ˜ on X is defined as a mapping μ A ˜ : X [ 0 , 1 ] , where μ A ˜ ( x ) is the membership degree of x to the fuzzy set A ˜ . We denote by F ˜ ( X ) the collection of all fuzzy subsets of X.
Fuzzy sets are generalizations of the classical sets represented by their characteristic functions μ A ˜ : X { 0 , 1 } . In our case A ˜ ( x ) = 1 means full membership of x in A ˜ , whereas A ˜ ( x ) = 0 expresses nonmembership, but in contrary to the classical case other membership degrees are allowed. A set h ( A ˜ ) = sup { μ A ˜ ( x ) | x X } is called a height of fuzzy set A ˜ . Moreover, a fuzzy set A ˜ is said to be a normal fuzzy set if h ( A ˜ ) = 1 .
Definition 2 
([1]). Let A ˜ : X [ 0 , 1 ] be a fuzzy set. The level sets of A ˜ are defined as the classical sets
A α = { x X | A ˜ ( x ) α } ,
0 < α 1 .
A 1 = { x X | A ˜ ( x ) = 1 }
is called the core of the fuzzy set A ˜ , and
supp A ˜ = { x X | A ˜ ( x ) > 0 }
is called the support of the fuzzy set.
Definition 3 
([1]). Let σ be a fuzzy subset of a set S and μ be a fuzzy relation on S. Then μ is called a fuzzy relation on σ if
μ ( x , y ) σ ( x ) σ ( y ) , for all x , y S .
A fuzzy relation μ is symmetric if μ ( x , y ) = μ ( y , x ) for all x , y X .
Definition 4 
([1]). Let A ˜ , B ˜ F ˜ ( X ) . We say that the fuzzy set A ˜ is included in B ˜ if
A ˜ ( x ) B ˜ ( x ) , for all x X .
We denote A ˜ B ˜ .
Definition 5 
([1]). Let A ˜ , B ˜ F ˜ ( X ) . The intersection of A ˜ and B ˜ is the fuzzy set C ˜ with
C ˜ ( x ) = min { A ˜ ( x ) , B ˜ ( x ) } = A ˜ ( x ) B ˜ ( x ) , for all x X .
We denote C ˜ = A ˜ B ˜ .
Definition 6 
([1]). Let A ˜ , B ˜ F ˜ ( X ) . The union of A ˜ and B ˜ is the fuzzy set C ˜ , where
C ˜ ( x ) = max { A ˜ ( x ) , B ˜ ( x ) } = A ˜ ( x ) B ˜ ( x ) , for all x X .
We denote C ˜ = A ˜ B ˜ .
Definition 7 
([1]). Let A ˜ F ˜ ( X ) be a fuzzy set. The complement of A ˜ is the fuzzy set B ˜ where
B ˜ ( x ) = 1 A ˜ ( x ) , for all x X .
We denote B ˜ = A ˜ ¯ .

2.3. Basic Concepts of Fuzzy Graph Coloring

Kaufmann proposed the concept of fuzzy graphs G ˜ ( V , E ˜ ) . Meanwhile, Rosyida initiated the concept of fuzzy graphs G ˜ ( V ˜ , E ˜ ) based on the fuzzy relation.
In this paper, we consider fuzzy graphs G ˜ ( V , E ˜ ) , which denote the incompatibility graph. Every fuzzy graph is assumed to be finite, with no loops and an undirected graph.
Definition 8 
([2]). Let G ( V , E ) be a fuzzy graph, where V is the vertex set, the fuzzy edge set E ˜ is characterized by the matrix μ = μ ( u , v ) u , v V : μ ( u , v ) = μ E ˜ ( u , v ) , for all u , v V such that u v , and μ E ˜ : V × V I is the membership function.
This type of fuzzy graph is also called a type 1 fuzzy graph.
For the sake of brevity, we declare that in this paper, each element μ ( u , v ) E ˜ represents the incompatible level of the edge ( u , v ) for all u , v V with u v . μ , which is chosen suitably in all the examples, is symmetric (i.e., μ ( u , v ) = μ ( v , u ) , for any ( u , v ) E ˜ ). In addition, we denote the underlying crisp graph of G ˜ by G * ( V , E * ) , where E * = { ( u , v ) V × V | μ ( u , v ) > 0 , for all u , v V } .
Assume I = A { 0 , 1 } , where A = { α 1 α 2 α k } is the fundamental set (level set) of G ˜ . In fact, a fuzzy graph G ˜ ( V , E ˜ ) can be regarded as a generalization of an incompatibility graph G ( V , E ) . Taking I = { 0 , 1 } , G ˜ ( V , E ˜ ) becomes a crisp graph if matrix μ is defined as
μ ( u , v ) = 1 , if ( u , v ) E ˜ 0 , otherwise
for any u , v V .
Definition 9 
([2]). Let G ˜ 1 ( V 1 , E ˜ 1 ) be a fuzzy graph having a crisp vertex set V 1 and fuzzy edge set E ˜ 1 with membership function μ E ˜ 1 : V 1 × V 1 [ 0 , 1 ] . The fuzzy graph G ˜ 1 is called a fuzzy subgraph of G ˜ , if V 1 V and E ˜ 1 E ˜ . Similarly, the fuzzy graph H ˜ ( P , E ˜ H ) is called a fuzzy subgraph of G ˜ induced by P if P V and μ E ˜ H ( u , v ) = μ ( u , v ) for u , v P . We write P to denote the fuzzy subgraph induced by P.
The concept of chromatic number of fuzzy graphs (Definition 10) was introduced by Mu n ˜ oz et al. [32]. The authors considered fuzzy graphs with a crisp vertex set, and edges with membership degree in [ 0 , 1 ] ; moreover, they showed that the fuzzy chromatic number of a fuzzy graph is a normalized fuzzy number whose modal value is associated with the empty edge-set graph. Its meaning depends on the sense of index α , and it can be interpreted in the following way. For lower values of α there are many incompatible links between vertices and, consequently, more colors are needed in order to consider these incompatibilities. On the other hand, for higher values of α there are fewer incompatible links between vertices and fewer colors are needed (see [32]). In order to deal with the ambiguity problem, the chromatic number summarizes all this information.
Given a fuzzy graph G ˜ ( V , E ˜ ) , which can be characterized by the family of its α -cut graphs, and the membership function of E ˜ is μ . In order to obtain more information about it, a natural approach is to analyze the family of the α -cut graphs. Let G α = { ( V , E α ) | α I } be the family of α -cut sets of G ˜ , and the α -cut of a fuzzy graph be a crisp graph G α ( V , E α ) with E α = { ( u , v ) | u , v V , μ ( u , v ) α } . Hence, any (crisp) k-coloring can be defined on G α . The k-coloring function of G ˜ is defined through this sequence. For each α I , let χ α denote the chromatic number of G α . The chromatic number of G ˜ is defined through a monotone family of sets [32].
Definition 10 
([32]). If G ˜ ( V , E ˜ ) is such a fuzzy graph, where V = { 1 , 2 , 3 , , n } and μ is a fuzzy number on the set of all subsets of V × V . Assume I = A { 0 , 1 } , where A = { α 1 α 2 α k } is the fundamental set (level set) of G ˜ . For each α i I , G α i denotes the crisp graph G α i ( V , E α i ) , where E α i = { ( u , v ) | μ ( u , v ) α i } and χ α i = χ ( G α i ) denotes the chromatic number of crisp graph G α i .
Based on Definition 10, we extend the chromatic number of fuzzy graph G ˜ ( V , E ˜ ) as the max number of χ ( G α i ) as follows.
Definition 11. 
Let G ˜ ( V , E ˜ ) be a fuzzy graph, μ be a fuzzy number on the set of all subsets of V × V , and A = { α 1 , α 2 , , α k } be the fundamental set of G ˜ . For any α i A , G α i denotes the crisp graph G α i ( V , E α i ) with E α i = { ( u , v ) | μ ( u , v ) α i } , and χ ( G α i ) denotes the chromatic number of the crisp graph G α i . The chromatic number of fuzzy graph G ˜ is the number χ ( G ˜ ) = max { χ ( G α i ) | α i A } .
Definition 12 
([40]). (Union) Let V 1 and V 2 be finite nonempty sets, G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs where the membership functions of E ˜ 1 and E ˜ 2 are μ 1 and μ 2 , respectively. A union of G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 which has a vertex set V = V 1 V 2 and a fuzzy edge set E ˜ = E ˜ 1 E ˜ 2 with μ E ˜ ( u , v ) = max { μ 1 ( u , v ) , μ 2 ( u , v ) } , for all u , v V . If V 1 V 2 = , then G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 is called a disjointed union of fuzzy graphs G ˜ 1 and G ˜ 2 .

2.4. Operations on Fuzzy Graphs

Definition 13. 
(Isomorphic) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. We will say that G ˜ 1 and G ˜ 2 are isomorphic, written by G ˜ 1 G ˜ 2 , if there exists a bijection h : V 1 V 2 such that μ 1 ( u , v ) = μ 2 ( h ( u ) , h ( v ) ) for all u , v V 1 .
Definition 14. 
(Complement) Let G ˜ ( V , E ˜ ) be a fuzzy graph, μ be the membership functions of E ˜ . The complement graph of G ˜ ( V , E ˜ ) is a fuzzy graph G ˜ ¯ ( V , E ˜ ¯ ) with μ ¯ = μ ¯ ( u , v ) , μ ¯ ( u , v ) = 1 μ ( u , v ) for any ( u , v ) E ˜ . Moreover, if G ˜ G ˜ ¯ , then G ˜ is called self-complementary.
Example 1. 
Let G ˜ ( V , E ˜ ) be a fuzzy graph, V = { u 1 , u 2 , u 3 , u 4 , u 5 } , the membership function of E ˜ be
μ = 0 0.6 0.2 0 0 0 0.8 0.4 0.6 0 0 0.7 0.2 0.8 0 0 0 0.4 0.7 0 .
G ˜ is shown as (a) in Figure 1. For simplicity, we show only the computing of μ ¯ ( u 1 , u 3 ) and μ ¯ ( u 1 , u 4 ) . By Definition 14, we have μ ¯ ( u 1 , u 3 ) = 1 μ ( u 1 , u 3 ) = 0.4 , μ ¯ ( u 1 , u 4 ) = 1 μ ( u 1 , u 4 ) = 0.8 . The position of μ ¯ ( u 1 , u 3 ) in matrix μ ¯ is the first row and the third column, the position of μ ¯ ( u 1 , u 4 ) in matrix μ is the first row and the fourth column. By computing, it is easy to obtain G ˜ ¯ ( V , E ˜ ¯ ) , as shown as (b) in Figure 1, V = { u 1 , u 2 , u 3 , u 4 , u 5 } , and the membership function of E ˜ ¯ is
μ ¯ = 1 0.4 0.8 1 1 1 0.2 0.6 0.4 1 1 0.3 0.8 0.2 1 1 1 0.6 0.3 1 .
Definition 15. 
(Fuzzy neighbour edge set) Let G ˜ ( V , E ˜ ) be a fuzzy graph. For a given vertex u in vertex set V, the fuzzy edge set { ( u , u i ) | μ ( u , u i ) > 0 , for all u i V } is called the fuzzy neighbour edge set of vertex u, denoted by N E ˜ ( u ) .
Definition 16. 
(Fuzzy complete graph) A fuzzy graph G ˜ ( V , E ˜ ) is a fuzzy complete graph, if μ ( u , v ) > 0 , for all u , v V .
Definition 17 
((Clique) [41]). A clique of simple crisp graphs G * is a subset S of V, such that the graph induced by S is complete.
Remark 1. 
Let G ˜ ( V , E ˜ ) be a fuzzy graph with the underlying graph G * ( V , E * ) . A clique with maximum number of vertices in G ˜ is a maximal clique of the graph G * .
Definition 18. 
(Cap) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The cap of G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 which has a fuzzy edge set E ˜ = E ˜ 1 E ˜ 2 , and μ ( u , v ) = min { μ 1 ( u , v ) , μ 2 ( u , v ) } , for all ( u , v ) E ˜ .
Definition 19. 
(Difference) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The difference of G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 which has a fuzzy edge set E ˜ = E ˜ 1 E ˜ 2 = { ( u , v ) | ( u , v ) E ˜ 1 and ( u , v ) E ˜ 2 } , and μ ( u , v ) = μ 1 ( u , v ) ( 1 μ 2 ( u , v ) ) , for all u , v V 1 V 2 .
Definition 20. 
(Ring sum) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The ring sum of G ˜ 1 and G ˜ 2 is a fuzzy graph
G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 = ( G ˜ 1 G ˜ 2 ) ( G ˜ 1 G ˜ 2 ) = ( G ˜ 1 G ˜ 2 ) ( G ˜ 2 G ˜ 1 ) .
Remark 2. 
The ring sum of two fuzzy graphs satisfies commutative law and associative law, i.e.,
G ˜ 1 G ˜ 2 = G ˜ 2 G ˜ 1 G ˜ 1 ( G ˜ 2 G ˜ 3 ) = ( G ˜ 1 G ˜ 2 ) G ˜ 3 .
Definition 21. 
(Join) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The join of two disjoint fuzzy graphs G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 + G ˜ 2 , where V = V 1 V 2 , E ˜ = E ˜ 1 E ˜ 2 E ˜ , E ˜ is the set of all edges joining V 1 and V 2 , and the membership function of E ˜ is μ = μ ( u , v ) , μ ( u , v ) is calculated as follows:
μ ( u , v ) = μ 1 ( u , v ) , ( u , v ) E ˜ 1 , μ 2 ( u , v ) , ( u , v ) E ˜ 2 , min { μ 1 ( N E ˜ 1 ( u ) ) , μ 2 ( N E ˜ 2 ( v ) ) } , ( u V 1 , v V 2 ) , ( u , v ) E ˜ .
Example 2. 
Given two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) , where V 1 = { u 1 , u 2 , u 3 } and V 2 = { v 1 , v 2 } , the membership functions of E ˜ 1 and E ˜ 2 are μ 1 and μ 2 , respectively:
μ 1 = 0.4 0 0.4 0.8 0 0.8 , μ 2 = 0.7 0.7 .
By Definition 21, we can obtain the join of fuzzy graphs G ˜ 1 and G ˜ 2 , denoted by G ˜ ( V , E ˜ ) , where V = { u 1 , u 2 , u 3 , v 1 , v 2 } and the membership function of E ˜ is μ as follows.
μ = 0.4 0 0.4 0.4 0.4 0.8 0.4 0.4 0 0.8 0.7 0.7 0.4 0.4 0.7 0.7 0.4 0.4 0.7 0.7 .
For simplicity, we show only the computing of μ ( u 1 , v 1 ) and μ ( u 3 , v 1 ) . By Definition 21, we have
μ ( u 1 , v 1 ) = min { μ 1 ( N E ˜ 1 ( u 1 ) ) , μ 2 ( N E ˜ 2 ( v 1 ) ) } = 0.4 ,
μ ( u 3 , v 1 ) = min { μ 1 ( N E ˜ 1 ( u 3 ) ) , μ 2 ( N E ˜ 2 ( v 1 ) ) } = 0.7 .
The position of μ ( u 1 , v 1 ) in matrix μ is the fourth row and the first column, the position of μ ( u 3 , v 1 ) in matrix μ is the fourth row and the third column.
Fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) , G ˜ 2 ( V 2 , E ˜ 2 ) and G ˜ ( V , E ˜ ) are shown as (a), (b), and (c) in Figure 2, respectively.
Definition 22. 
(Direct product) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The direct product of two fuzzy graphs G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 , where V = V 1 × V 2 , and E ˜ = { ( u 1 v 1 , u 2 v 2 ) | ( u 1 , u 2 ) E ˜ 1 , ( v 1 , v 2 ) E ˜ 2 } ,
μ ( u 1 v 1 , u 2 v 2 ) = μ 1 ( u 1 , u 2 ) μ 2 ( v 1 , v 2 ) = min { μ 1 ( u 1 , u 2 ) , μ 2 ( v 1 , v 2 ) } .
Definition 23. 
(Semiproduct) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The semiproduct of two fuzzy graphs G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 , where V = V 1 × V 2 , and E ˜ = { ( u v 1 , u v 2 ) | u V 1 , ( v 1 , v 2 ) E ˜ 2 } { ( u 1 v 1 , u 2 v 2 ) | ( u 1 , u 2 ) E ˜ 1 , ( v 1 , v 2 ) E ˜ 2 } ,
μ ( u v 1 , u v 2 ) = μ 2 ( v 1 , v 2 ) , μ ( u 1 v 1 , u 2 v 2 ) = μ 1 ( u 1 , u 2 ) μ 2 ( v 1 , v 2 ) .
Definition 24. 
(Strong product) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The strong product of two fuzzy graphs G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 G ˜ 2 , where V = V 1 × V 2 , and E ˜ = { ( u v 1 , u v 2 ) | u V 1 , ( v 1 , v 2 ) E ˜ 2 } { ( u 1 w , u 2 w ) | ( u 1 , u 2 ) E ˜ 1 , w V 2 } { ( u 1 v 1 , u 2 v 2 ) | ( u 1 , u 2 ) E ˜ 1 , ( v 1 , v 2 ) E ˜ 2 } ,
μ ( u v 1 , u v 2 ) = μ 2 ( v 1 , v 2 ) , μ ( u 1 w , u 2 w ) = μ 1 ( u 1 , u 2 ) , μ ( u 1 v 1 , u 2 v 2 ) = μ 1 ( u 1 , u 2 ) μ 2 ( v 1 , v 2 ) .
Definition 25. 
(Cartesian product) Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, μ 1 and μ 2 be the membership functions of E ˜ 1 and E ˜ 2 , respectively. The Cartesian product of two fuzzy graphs G ˜ 1 and G ˜ 2 is a fuzzy graph G ˜ ( V , E ˜ ) = G ˜ 1 × G ˜ 2 , where V = V 1 × V 2 , and E ˜ = { ( u 1 v , v 1 v ) | v V 2 , ( u 1 , v 1 ) E ˜ 1 } { ( u u 2 , u v 2 ) | u V 1 , ( u 2 , v 2 ) E ˜ 2 } ,
μ ( u 1 v , v 1 v ) = μ ( u 1 , v 1 ) , for all v V 2 , for all ( u 1 , v 1 ) E ˜ 1 , μ ( u u 2 , u v 2 ) = μ ( u 2 , v 2 ) , for all u V 1 , for all ( u 2 , v 2 ) E ˜ 2 .
Example 3. 
Consider two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) with the underlying graph G 1 * ( V 1 , E 1 * ) and G 2 * ( V 2 , E 2 * ) , respectively, such that V 1 = { u 1 , u 2 , u 3 } , E ˜ 1 = { ( u 1 , u 2 ) , ( u 2 , u 3 ) } and V 2 = { v 1 , v 2 , v 3 } , E ˜ 2 = { ( v 1 , v 2 ) , ( v 2 , v 3 ) } , the μ i corresponding to G ˜ 1 and G ˜ 2 are shown as follows:
μ 1 = 0.4 0 0.4 0.8 0 0.8 , μ 2 = 0.6 0 0.6 0.7 0 0.7 .
Then the direct product G ˜ 1 G ˜ 2 , the semiproduct G ˜ 1 G ˜ 2 , the strong product G ˜ 1 G ˜ 2 and the Cartesian product G ˜ 1 × G ˜ 2 of above two fuzzy graphs G ˜ 1 and G ˜ 2 as shown in Figure 3a–d, respectively.

3. Chromatic Number of Fuzzy Graphs

Lemma 1. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, G 1 * and G 2 * be the underlying graphs of G ˜ 1 and G ˜ 2 , respectively. If G ˜ 1 G ˜ 2 then G 1 * G 2 * .
Proof. 
Suppose that G ˜ 1 G ˜ 2 , and then there exists a bijection h : V 1 V 2 such that μ 1 ( u , v ) = μ 2 ( h ( u ) , h ( v ) ) for all u , v V 1 . It is obvious that there exists a bijection h : V 1 V 2 such that ( u , v ) = ( h ( u ) , h ( v ) ) for all u , v V 1 , i.e., G 1 * G 2 * . □
Lemma 2. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) , if G ˜ 1 G ˜ 2 then χ ( G ˜ 1 ) = χ ( G ˜ 2 ) .
Proof. 
Obviously, this lemma can be obtained from Lemma 1, and the definition of the chromatic number of fuzzy graphs. □
Theorem 1. 
Let G ˜ ( V , E ˜ ) be a self-complementary fuzzy graph, and the chromatic number of fuzzy graph G ˜ ¯ is the same with the fuzzy graph G ˜ .
Proof. 
By the definition of the self-complementary fuzzy graph, it is obvious that G ˜ G ˜ ¯ . Furthermore, based on Lemma 2, it is obvious that χ ( G ˜ ) = χ ( G ˜ ¯ ) . □
Lemma 3. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs. If G ˜ 1 G ˜ 2 then χ ( G ˜ 1 ) χ ( G ˜ 2 ) .
Proof. 
It is clear that χ ( G ˜ 1 ) χ ( G ˜ 2 ) if G ˜ 1 G ˜ 2 . □
Corollary 1. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) . If G ˜ 1 G ˜ 2 , then χ ( G ˜ 1 G ˜ 2 ) = χ ( G ˜ 1 ) .
Theorem 2. 
Let G ˜ ( V , E ˜ ) be a fuzzy graph. If A = { α 1 , α 2 , , α n } is the fundamental set of G ˜ , then for α i , α j A such that α i α j , we have χ ( G ˜ α j ) χ ( G ˜ α i ) .
Proof. 
For the fuzzy graph G ˜ ( V , E ˜ ) , if 0 α i α j 1 , then G α i ( V , E α i ) is a crisp graph, where E α i = { ( u , v ) | μ ( u , v ) α i , u , v V } . Meanwhile, G α j ( V , E α j ) is a crisp graph, where E α j = { ( u , v ) | μ ( u , v ) α j , u , v V } .
Let ( u , v ) E α j , then μ ( u , v ) α j α i , i.e., ( u , v ) E α i . Therefore, G α j G α i , and by Lemma 3, χ ( G ˜ α j ) χ ( G ˜ α i ) . □
Theorem 3. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, the chromatic numbers of G ˜ 1 and G ˜ 2 be χ ( G ˜ 1 ) and χ ( G ˜ 2 ) , respectively. If fuzzy graph G ˜ ( V , E ˜ ) is the union of two fuzzy graphs G ˜ 1 and G ˜ 2 , then the chromatic number of G ˜ satisfies max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } χ ( G ˜ ) χ ( G ˜ 1 ) + χ ( G ˜ 2 ) .
Proof. 
We will construct the union of fuzzy graphs G ˜ 1 and G ˜ 2 . We consider the following two cases.
Case 1. V 1 V 2 = . Assume that μ , μ 1 and μ 2 are the membership functions of E ˜ , E ˜ 1 and E ˜ 2 , respectively. Because V 1 V 2 = , it is clear that G ˜ = G ˜ 1 G ˜ 2 = ( V 1 V 2 , E ˜ ) with μ ( u , v ) > 0 for all u , v V 1 V 2 if and only if μ 1 ( u , v ) > 0 or μ 2 ( u , v ) > 0 . For each α i in the fundamental set of G ˜ , either α i belongs to the fundamental set of G ˜ 1 or to the fundamental set of G ˜ 2 . Hence, the minimum value of α i in the fundamental set of G ˜ is the minimum among that in the fundamental sets of G ˜ 1 and G ˜ 2 . Let it be α k , the minimum value of α i in the fundamental set of G ˜ 1 . Then ( G ˜ 1 G ˜ 2 ) α k has all the adjacencies of G ˜ 1 and G ˜ 2 . By Definition 4, χ ( G ˜ 1 G ˜ 2 ) = χ ( G ˜ 1 G ˜ 2 ) α k = max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } .
Case 2. V 1 V 2 .
In this case, there are two possibilities as follows.
(i)
There do not form new cycles in fuzzy graphs G ˜ ( V , E ˜ ) . It is obvious that χ ( G ˜ ) = max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } .
(ii)
There are new cycles formed in the fuzzy graph G ˜ ( V , E ˜ ) . In order to satisfy f ( u ) f ( v ) , new colors may be required in G ˜ . It is obvious that max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } χ ( G ˜ ) χ ( G ˜ 1 ) + χ ( G ˜ 2 ) .
Combining the above results, we obtain that max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } χ ( G ˜ ) χ ( G ˜ 1 ) + χ ( G ˜ 2 ) . □
Corollary 2. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) . If G ˜ 1 G ˜ 2 , then χ ( G ˜ 1 G ˜ 2 ) = χ ( G ˜ 2 ) .
Theorem 4. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, the chromatic numbers of G ˜ 1 and G ˜ 2 be χ ( G ˜ 1 ) and χ ( G ˜ 2 ) , respectively. If G ˜ ( V , E ˜ ) is the difference of two fuzzy graphs G ˜ 1 and G ˜ 2 , then the chromatic number of G ˜ satisfies χ ( G ˜ ) χ ( G ˜ 1 ) .
Proof. 
By the definition of the difference between fuzzy graphs, we have G ˜ = G ˜ 1 G ˜ 2 G ˜ 1 . Moreover, based on Lemma 3, it is obvious that χ ( G ˜ ) = χ ( G ˜ 1 G ˜ 2 ) χ ( G ˜ 1 ) . □
Theorem 5. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, the chromatic numbers of G ˜ 1 and G ˜ 2 be χ ( G ˜ 1 ) and χ ( G ˜ 2 ) , respectively. If G ˜ ( V , E ˜ ) is the cap of two fuzzy graphs G ˜ 1 and G ˜ 2 , then the chromatic number of G ˜ satisfies χ ( G ˜ ) min { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } .
Proof. 
By the definition of the cap of two fuzzy graphs, G ˜ = G ˜ 1 G ˜ 2 , E ˜ = E ˜ 1 E ˜ 2 . Also, G ˜ G ˜ 1 and G ˜ G ˜ 2 . By Lemma 3, it is clear that χ ( G ˜ ) min { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } . □
Theorem 6. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, the chromatic numbers of G ˜ 1 and G ˜ 2 be χ ( G ˜ 1 ) and χ ( G ˜ 2 ) , respectively. If G ˜ ( V , E ˜ ) is the ring sum of two fuzzy graphs G ˜ 1 and G ˜ 2 , then the chromatic number of G ˜ satisfies χ ( G ˜ ) χ ( G ˜ 1 ) + χ ( G ˜ 2 ) .
Proof. 
By the definition of the ring sum in fuzzy graphs, we know G ˜ 1 G ˜ 2 = ( G ˜ 1 G ˜ 2 ) ( G ˜ 1 G ˜ 2 ) G ˜ 1 G ˜ 2 . Based on the proof of Theorem 3 and Lemma 3, there are χ ( G ˜ ) = χ ( G ˜ 1 G ˜ 2 ) χ ( G ˜ 1 G ˜ 2 ) χ ( G ˜ 1 ) + χ ( G ˜ 2 ) . □
Theorem 7. 
Let G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) be two fuzzy graphs, the chromatic numbers of G ˜ 1 and G ˜ 2 be χ ( G ˜ 1 ) and χ ( G ˜ 2 ) , respectively. If G ˜ ( V , E ˜ ) is the join of two fuzzy graphs G ˜ 1 and G ˜ 2 , then the chromatic number of G ˜ satisfies χ ( G ˜ ) = χ ( G ˜ 1 + G ˜ 2 ) n where n = | V 1 | + | V 2 | . Equality holds if G 1 * and G 2 * are complete graphs, where G 1 * and G 2 * are the underlying graphs of G ˜ 1 and G ˜ 2 , respectively.
Proof. 
By the definition of join in fuzzy graphs, the underlying graph G * of join graph G ˜ becomes a complete graph if and only if both G 1 * and G 2 * are complete graphs. □
Remark 3. 
Let G ˜ 1 and G ˜ 2 be two fuzzy graphs, the fuzzy graph G ˜ is the join of G ˜ 1 and G ˜ 2 , then G ˜ is a fuzzy complete graph if G ˜ 1 and G ˜ 2 are both fuzzy complete graphs.
Theorem 8. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) , the chromatic number of the direct product χ ( G ˜ 1 G ˜ 2 ) = min { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } .
Proof. 
By the definition of direct product of fuzzy graphs, any two vertices are adjacent if and only if the corresponding vertices in G ˜ 1 and G ˜ 2 are adjacent. Because the chromatic number depends on adjacency, the number of colors required to color the vertices of G ˜ 1 G ˜ 2 is the minimum of χ ( G ˜ 1 ) and χ ( G ˜ 2 ) . □
Theorem 9. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) , the chromatic number of the semiproduct χ ( G ˜ 1 G ˜ 2 ) = | V C | . Where C is a maximal clique of ( G ˜ 1 G ˜ 2 ) * .
Proof. 
By the definition of semiproduct, the largest complete subgraph of G ˜ is the graph with corresponding adjacent vertices u i v j and u i v k , where u i V 1 and ( v j , v k ) E ˜ 2 , i.e., the largest complete subgraph is the graph with edges of the form ( u 1 v j , u 1 v k ) with u 1 as a vertex of maximum degree in V 1 and edges of the form ( u 1 v j , u m v k ) , where ( u 1 , u m ) E ˜ 1 and ( v j , v k ) E ˜ 2 . Hence the chromatic number of the semiproduct is the chromatic number corresponding to this largest complete subgraph. □
Theorem 10. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) with the membership function μ 1 and G ˜ 2 ( V 2 , E ˜ 2 ) with the membership function μ 2 . If μ 1 ( u 1 , u 2 ) > 0 and μ 2 ( v 1 , v 2 ) > 0 , for all u 1 , u 2 V 1 and v 1 , v 2 V 2 , the chromatic number of the strong product χ ( G ˜ 1 G ˜ 2 ) = n 1 n 2 , where n 1 = | V 1 | and n 2 = | V 2 | .
Proof. 
By the definition of strong product, if μ 1 ( u 1 , u 2 ) > 0 and μ 2 ( v 1 , v 2 ) > 0 , for all μ 1 , μ 2 V 1 and v 1 , v 2 V 2 , then ( G ˜ 1 G ˜ 2 ) * is a complete graph with n 1 n 2 vertices. Hence, χ ( G ˜ 1 G ˜ 2 ) = n 1 n 2 . □
Theorem 11. 
For two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) , the chromatic number of the Cartesian product max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } χ ( G ˜ 1 × G ˜ 2 ) n 2 χ ( G ˜ 1 ) + n 1 χ ( G ˜ 2 ) , where n 1 = | V 1 | and n 2 = | V 2 | .
Proof. 
The Cartesian product graph G ˜ 1 × G ˜ 2 decomposes into n 1 copies of G ˜ 2 and n 2 copies of G ˜ 1 , where | V 1 | = n 1 and | V 2 | = n 2 . By the definition of Cartesian product, G ˜ 1 × G ˜ 2 has two types of edges: those with vertices that have the same first coordinate, and those with vertices that have the same second coordinate. The edges joining vertices with a given value of the first coordinate form a copy of G ˜ 2 , so the edges of the first type form n 1 G ˜ 2 . Similarly, the edges of the second type form n 2 G ˜ 1 , and the union is as follows:
( G ˜ 1 G ˜ 1 G ˜ 1 n 2 ) ( G ˜ 2 G ˜ 2 G ˜ 2 n 1 ) .
Based on the proof of Theorem 3, it is obvious that max { χ ( G ˜ 1 ) , χ ( G ˜ 2 ) } χ ( G ˜ 1 × G ˜ 2 ) n 2 χ ( G ˜ 1 ) + n 1 χ ( G ˜ 2 ) . □

4. Application of Chromatic Number of Fuzzy Graphs

In this section, we describe a couple of example applications of the chromatic number of fuzzy graphs.

4.1. The Examination Problem

The examination scheduling problem consists of assigning a number of exams to a number of slots within the examination period, taking into account that students cannot take more than one exam at the same time. This problem can be modeled as a classical coloring problem. Each exam is a vertex of the graph, and the edges link those incompatible exams in the sense that at least one student shares both of them. Each color represents a slot, and all equally colored vertices are assigned to the same slot. The minimum chromatic number has the same property of minimizing the overall exam period.
Now, we take into account the difficulty and the implied specialties or profiles and other factors of the examination subjects. The incompatibility between the exams is valued in the following way: n if they are compatible, and l, m and h if the incompatibility degree is, respectively, low, medium, and high. The incompatibility degree can be interpreted in the following way: any compatible exams can share the same slot; if the incompatibility degree between exams i and j is l, m, or h, then both exams must be scheduled, leaving at least 1, 2, or 3 slots between them, respectively (to ensure that students have relatively sufficient review time). Then, this problem can be modeled by means of fuzzy graphs.
Example 4. 
Suppose there are eight exams { A , B , C , D , E , F , G , H } . The model of this examination scheduling problem is a fuzzy graph G ˜ ( V , μ ) , where V = { A , B , C , D , E , F , G , H } ,
μ = l m n n l n n l m n n n n n m m l n h n n n n l m n n l n n n m l n n l n h n l m n n n n n n m l n n n n n n l .
The corresponding fuzzy graphs is depicted in Figure 4.
The problem is to schedule the eight exams with these constraints and minimizing the overall exam period. For the above data, the minimum number of slots is four and an optimum schedule (in other words we need 4 colours to dye the vertices in this fuzzy graph) by Table 1.

4.2. The Traffic Light System Problem

Let us consider a four-way crossroad at two intersections, as illustrated in Figure 5. There are four directions on the left side intersection, i.e., A on the north, B on the south, C on the west, and D on the east. Moreover, there are four directions at the right side of the intersection, i.e., E, F, C, and D. Thus, there are traffic movements in different directions, i.e., A B , A D , B A , B C , C D , C A , D C , D B , E D , D F , and E F . Certain routes, such as A D and B C , C D and D C , and A D and C D , are compatible with one another, whereas others, such as A B and B C , E F and C D , are not.
A vertex represents the movement of traffic from one direction to another. Two vertices that represent incompatible traffic movements should be connected with an edge. The traffic light system will be modified by the vertex coloring of fuzzy graphs. The minimum chromatic number has the same property of minimizing the traffic light phases.
One can represent the two signaled intersections through the union of two fuzzy graphs. A membership degree of a fuzzy edge represents the incompatibility of two vertices, which is a possibility for traffic incidents to occur between vehicles from both traffic movements.
The first stage in research is to divide the data on traffic flows into three groups of fuzzy sets, i.e., low, medium, or high flows, as shown in Table 2.
The symbols l, m, and h mean low, medium, and high, respectively. The notation n denotes the number of vehicles per hour (vehicles/h) involved in a traffic movement. A trapezoidal membership function at intervals of [ 300 , 600 ] is used to present the fuzzy set of low traffic flow, a triangular membership function at intervals of [ 300 , 600 ] is used to present the fuzzy set of medium traffic flow, and a trapezoidal membership function at intervals of [ 570 , 900 ] is used to present the fuzzy set of high traffic flow. Figure 6 depicts the fuzzification of traffic flow data in Table 2. Displaying the membership degree of an edge is helpful in order to understand the incompatibility of two traffic flows.
The second step is to determine the degrees of membership of all edges by using a rule as follows.
(i)
If traffic movements A B and C D are incompatible, then there is an edge ( A B , C D ) . In addition, we choose a maximum value of membership degree of A B and C D to determine the membership degree of the fuzzy edge ( A B , C D ) .
(ii)
If the traffic movements A B and C D are compatible, which means they can move at the same time, then there is no ( A B , C D ) edge. This indicates that the fuzzy edge’s membership degree is 0.
Therefore, traffic flows on the left and right intersection in Figure 5 can be modelled as two fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) based on the given rules, respectively, where the vertex sets are V 1 = { A B , A D , B A , B C , C D , C A , D C , D B } and V 2 = { D C , E D , D F , C D , E F , A D , D B } .
The membership degrees of edges in fuzzy edge set E ˜ is presented in Table 3. One can obtain the fundamental set A = { 0.12 , 0.33 , 0.43 , 0.47 , 0.64 , 0.83 , and   0.9 } of fuzzy graph G ˜ from Table 3. It can be known that routes D C and E F are more incompatible than routes D C and C A . The fuzzy graphs G ˜ 1 ( V 1 , E ˜ 1 ) and G ˜ 2 ( V 2 , E ˜ 2 ) are shown as Figure 7.
There exist some methods of colouring in fuzzy graphs. It is not difficult to get chromatic numbers of fuzzy graphs G ˜ 1 and G ˜ 2 by using any chromatic algorithm. The chromatic numbers of G ˜ 1 and G ˜ 2 are as follows: χ ( G ˜ 1 ) = 4 and χ ( G ˜ 2 ) = 3 .
Furthermore, two intersections in Figure 5 can be modelled into an integrated traffic light system by using a union of fuzzy graphs G ˜ = G ˜ 1 G ˜ 2 as illustrated in Figure 8. According to Definition 11 and Theorem 3, we get chromatic number of union in Figure 7 as follows: χ ( G ˜ ) = max { χ ( G α i ) | α i A } = χ ( G ˜ 1 G ˜ 2 ) = 4 .
The chromatic number of crisp graphs χ ( G α i ) = k can be interpreted as follows: the number k represents the number of phases needed on the integrated system and degree of membership α i represents the possibility that there may occur traffic incidents when we use k phases.
Based on chromatic number k of α i -cut graph of fuzzy graph G ˜ ( V , E ˜ ) , traffic flows in Figure 5 could be arranged in particular patterns as shown in Table 4. For higher values of α i (i.e., the higher degree of incompatibility), there are fewer colors needed and less safety. For example, when we make use of k = 3 phases, then 0.64 degree of incompatibility is reached. Traffic flows allowed to move simultaneously (i.e., get the green light) on the first phase are A D , D B , A B , C D and D C , B C , B A , E F on the second phase, C A , D F and E D on the third phase.
Finally, one can obtain an optimal arrangement. The optimality is reached when maximum safety level is attained (i.e., the minimum degree of incompatibility) whereas the number of phases is minimum (i.e., minimum cycle time of traffic light). When k = 4 , the objective is reached, traffic flows allowed to move simultaneously on the first phase are A D , C D and E D , B A , C A , D F , and E F on the second phase, B C and D C on the third phase, and D B and A B on the fourth phase. Only in this way can the maximum avoid traffic incidents.

5. Conclusions

In this paper, the concepts of complement, cap, join, difference, ring sum, and various categories of products of fuzzy graphs with a crisp vertex set and a fuzzy edge set are defined, and the corresponding chromatic number or upper bound is obtained. Furthermore, the chromatic number is used to solve the problems of the exam schedule and traffic light system. Finally, we get the optimal arrangement by finding the minimum chromatic number of a fuzzy graph.
In our upcoming research, we will define the fuzzy acyclic coloring of fuzzy graphs. In addition, we will verify some properties of fuzzy acyclic chromatic numbers of fuzzy graphs.

Author Contributions

Z.G. and J.Z. completed the study together. J.Z. wrote the manuscript, Z.G. checked the proofs process and verified the calculation. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (No.12061067).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the referees for providing very helpful comments and suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 33, 338–353. [Google Scholar] [CrossRef] [Green Version]
  2. Kaufmann, A. Introduction to the Theory of Fuzzy Sets; Academic Press: Orlando, FL, USA, 1973. [Google Scholar]
  3. Rosenfeld, A. Fuzzy Sets and Their Applications to Cognitive and Decision Processes; Academic Press: New York, NY, USA, 1975; pp. 77–95. [Google Scholar]
  4. Mordeson, J.N.; Peng, C.S. Operations on fuzzy graphs. Inf. Sci. 1994, 79, 381–384. [Google Scholar] [CrossRef]
  5. Craine, W.L. Characterizations of fuzzy interval graphs. Fuzzy Sets Syst. 1994, 68, 181–193. [Google Scholar] [CrossRef]
  6. Goetschel, R.H. Introduction to fuzzy hypergraphs and Hebbian structures. Fuzzy Sets Syst. 1995, 76, 113–130. [Google Scholar] [CrossRef]
  7. Gong, Z.T.; Wang, Q. Some operations on fuzzy hypergraphs. Ars Combinatoria 2017, 132, 203–217. [Google Scholar]
  8. Gong, Z.T.; Wang, Q. On the connection of fuzzy hypergraph with fuzzy information system. J. Intell. Fuzzy Syst. 2017, 33, 1665–1676. [Google Scholar] [CrossRef]
  9. Wang, Q.; Gong, Z.T. An application of fuzzy hypergraphs and hypergraphs in granular computing. Inf. Sci. 2018, 429, 296–314. [Google Scholar] [CrossRef]
  10. Gong, Z.T.; Wang, J.H. Hesitant fuzzy graphs, hesitant fuzzy hypergraphs and fuzzy graph decisions. J. Intell. Fuzzy Syst. 2020, 40, 865–875. [Google Scholar] [CrossRef]
  11. Blue, M.; Bush, B.; Puckett, J. Unified approach to fuzzy graph problems. Fuzzy Sets Syst. 2002, 125, 355–368. [Google Scholar] [CrossRef]
  12. Akram, M. Bipolar fuzzy graphs. Inf. Sci. 2011, 181, 5548–5564. [Google Scholar] [CrossRef]
  13. Alhawary, T. Complete fuzzy graphs. Int. J. Math. Comb. 2011, 4, 1–11. [Google Scholar]
  14. Mathew, S.; Anjali, N.; Mordeson, J.N. Transitive blocks and their applications in fuzzy interconnection networks. Fuzzy Sets Syst. 2018, 352, 142–160. [Google Scholar] [CrossRef]
  15. Binu, M.; Sunil, M.; Mordeson, J.N. Connectivity index of a fuzzy graph and its application to human trafficking. Fuzzy Sets Syst. 2019, 360, 117–136. [Google Scholar]
  16. Bershtein, L.S.; Bozhenuk, A.V. Maghout method for determination of fuzzy independent, dominating vertex sets and fuzzy graph kernels. Int. J. Gen. Syst. 2001, 30, 45–52. [Google Scholar] [CrossRef]
  17. Bhattacharya, P. Some remarks on fuzzy graphs. Pattern Recognit. Lett. 1987, 6, 297–302. [Google Scholar] [CrossRef]
  18. Mordeson, J.N.; Nair, P.S. Fuzzy Graphs & Fuzzy Hypergraphs; Physica-Verlag: New York, NY, USA, 2000. [Google Scholar]
  19. Somasundaram, A.; Somasundaram, S. Domination in fuzzy graphs. Pattern Recognit. Lett. 1998, 19, 787–791. [Google Scholar] [CrossRef]
  20. Sunitha, M.S. Studies on Fuzzy Graphs. Ph.D. Thesis, Chocin University of Science and Technology, Kochi, India, 2001. [Google Scholar]
  21. Bershtein, L.S.; Bozhenuk, A.V. Fuzzy graphs and fuzzy hypergraphs. In Encyclopedia of Artificial Intelligence; IGI Global: Hershey, PA, USA, 2011; pp. 704–709. [Google Scholar]
  22. Garey, M.R.; Johnson, D.S. Computers and Intractability, A Guide to the Theory of NP-Completeness; W. H. Freeman and Company: New York, NY, USA, 1979. [Google Scholar]
  23. Eilon, S.; Christofides, N. The loading problem. Manag. Sci. 1971, 17, 259–268. [Google Scholar] [CrossRef]
  24. Liu, C.L. Introduction to Combinatorial Mathematics; McGraw-Hill: New York, NY, USA, 1968. [Google Scholar]
  25. Roberts, F.S. On the mobile radio frequency assignment problem and the traffic light phasing problem. Ann. N. Y. Acad. Sci. 1979, 319, 466–483. [Google Scholar] [CrossRef]
  26. Christofides, N. Graph Theory: An Algorithmic Approach; Academic Press: London, UK, 1975. [Google Scholar]
  27. Al-Anzi, F.S.; Sotskov, Y.N.; Allahverdi, A.; Andreev, G.V. Using mixed graph coloring to minimize total completion time in job shop scheduling. Appl. Math. Comput. 2006, 182, 1137–1148. [Google Scholar] [CrossRef]
  28. Gamache, M.; Hertz, A.; Ouellet, J.O. A graph coloring model for a feasibility problem in monthly crew scheduling with preferential bidding. Comput. Oper. Res. 2007, 34, 2384–2395. [Google Scholar] [CrossRef]
  29. Lewis, R.; Thompson, J. On the application of graph colouring techniques in round-robin sports scheduling. Comput. Oper. Res. 2011, 38, 190–204. [Google Scholar] [CrossRef] [Green Version]
  30. Pardalos, P.M.; Mavridou, T.; Xue, J. The graph coloring problem: A bibliographic survey. In Handbook of Combinatorial Optimization; Du, D.Z., Pardalos, P.M., Eds.; Kluwer Academic Publishers: Boston, MA, USA, 1998; Volume 2, pp. 331–395. [Google Scholar]
  31. Chaitin, G.J.; Auslander, M.A.; Chandra, A.K.; Cocke, J.; Hopkins, M.E.; Markstein, P.W. Register allocation via coloring. Comput. Lang. 1981, 6, 47–57. [Google Scholar] [CrossRef]
  32. Muñoz, S.; Ortuño, M.T.; Ramírez, J.; Yáñez, J. Coloring fuzzy graphs. Omega 2005, 33, 211–221. [Google Scholar] [CrossRef]
  33. Eslahchi, C.; Onagh, B.N. Vertex-strength of fuzzy graphs. Int. J. Math. Math. Sci. 2006, 2006, 1–9. [Google Scholar] [CrossRef]
  34. Kishore, A.; Sunitha, M.S. Chromatic number of fuzzy graphs. Ann. Fuzzy Math. Inform. 2014, 7, 543–551. [Google Scholar]
  35. Cioban, V. On independent sets of vertices in graphs. Stud. Univ. Babes Bolyai Ser. Inform. 2007, 1, 97–100. [Google Scholar]
  36. Keshavarz, E. Vertex-coloring of fuzzy graphs: A new approach. J. Intell. Fuzzy Syst. Appl. Eng. Technol. 2016, 30, 883–893. [Google Scholar] [CrossRef]
  37. Kishore, A.; Sunitha, M.S. Chromatic Number of Resultant of Fuzzy Graphs. Fuzzy Inf. Eng. 2016, 8, 229–235. [Google Scholar] [CrossRef] [Green Version]
  38. Samanta, S.; Pramanik, T.; Pal, M. Fuzzy Colouring of Fuzzy Graphs. Afr. Mat. 2016, 27, 37–50. [Google Scholar] [CrossRef]
  39. Rosyida, I.; Indrati, C.R.; Sugeng, K.A. A new approach for determining fuzzy chromatic number of fuzzy graph. J. Intell. Fuzzy Syst. Appl. Eng. Technol. 2015, 28, 2331–2341. [Google Scholar] [CrossRef]
  40. Rosyida, I.; Widodo, C.R.; Indriat, D. Fuzzy chromatic number of union of fuzzy graphs: An algorithm, properties and its application. Fuzzy Sets Syst. 2020, 384, 115–131. [Google Scholar] [CrossRef]
  41. Harary, F. Graph Theory; Addison-Wesley Publishing Company: Upper Saddle River, NJ, USA, 1969. [Google Scholar]
Figure 1. (a) G ˜ and (b) G ˜ ¯ .
Figure 1. (a) G ˜ and (b) G ˜ ¯ .
Axioms 11 00697 g001
Figure 2. (a) G ˜ 1 , (b) G ˜ 2 , and (c) G ˜ 1 + G ˜ 2 .
Figure 2. (a) G ˜ 1 , (b) G ˜ 2 , and (c) G ˜ 1 + G ˜ 2 .
Axioms 11 00697 g002
Figure 3. (a) G ˜ 1 G ˜ 2 , (b) G ˜ 1 G ˜ 2 , (c) G ˜ 1 G ˜ 2 , and (d) G ˜ 1 × G ˜ 2 .
Figure 3. (a) G ˜ 1 G ˜ 2 , (b) G ˜ 1 G ˜ 2 , (c) G ˜ 1 G ˜ 2 , and (d) G ˜ 1 × G ˜ 2 .
Axioms 11 00697 g003
Figure 4. Fuzzy graph G ˜ of Example 4 (AH represent different exams respectively).
Figure 4. Fuzzy graph G ˜ of Example 4 (AH represent different exams respectively).
Axioms 11 00697 g004
Figure 5. A traffic light system on two intersections (AF represent one direction of the intersection respectively).
Figure 5. A traffic light system on two intersections (AF represent one direction of the intersection respectively).
Axioms 11 00697 g005
Figure 6. Membership functions of low, medium, and high traffic flows.
Figure 6. Membership functions of low, medium, and high traffic flows.
Axioms 11 00697 g006
Figure 7. Fuzzy graph models for traffic light system in Figure 5.
Figure 7. Fuzzy graph models for traffic light system in Figure 5.
Axioms 11 00697 g007
Figure 8. The model of union of fuzzy graphs in Figure 7.
Figure 8. The model of union of fuzzy graphs in Figure 7.
Axioms 11 00697 g008
Table 1. Examination scheduling.
Table 1. Examination scheduling.
Slots1234
Scheduled examsH,F,D,BAE,GC
Table 2. Data of traffic flows (vehicles/h).
Table 2. Data of traffic flows (vehicles/h).
AB AD BA BC CD CA DC DB ED DF EF
n536350476425582396678313275317465
Degree (l)       0.100.330.08 
Degree (m)0.430.330.830.830.120.64 0.09 0.110.9
Degree (h)    0.07 0.47    
Table 3. Fuzzy edge sets.
Table 3. Fuzzy edge sets.
Movements AB AD BA BC CD CA DC DB ED DF EF
A B ---0.830.430.640.47----
A D --0.83--0.640.470.33--0.9
B A -0.83--0.83-0.830.83---
B C 0.83---0.830.83-0.83---
C D 0.43-0.830.83---0.12-0.120.9
C A 0.640.64-0.83--0.640.64---
D C 0.470.470.83--0.64--0.47-0.9
D B -0.330.830.830.120.64----0.9
E D ------0.47--0.33-
D F ----0.12---0.33--
E F -0.9--0.9-0.90.9---
Table 4. Traffic light arrangements by using k phases.
Table 4. Traffic light arrangements by using k phases.
α i kArrangements (Partitions of Vertex Set V)
0.124 { A D , C D , E D } , { B A , C A , D F , E F } , { B C , D C , } , { D B , A B }
0.334 { A D , C D , E D } , { B A , C A , D F , E F } , { B C , D C , } , { D B , A B }
0.434 { A D , C D , E D } , { B A , C A , D F , E F } , { B C , D C , } , { D B , A B }
0.473 { A D , D B , A B , E F , E D } , { B A , B C , D C } , { D F , C D , C A }
0.643 { A D , D B , A B , C D , D C } , { B C , B A , E F } , { C A , D F , E D }
0.832 { A D , C D , D C , D B , A B } , { B A , B C , D F , E D , E F }
0.92 { A D , C D , D C , D B , A B } , { B A , B C , D F , E D , E F }
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gong, Z.; Zhang, J. Chromatic Number of Fuzzy Graphs: Operations, Fuzzy Graph Coloring, and Applications. Axioms 2022, 11, 697. https://doi.org/10.3390/axioms11120697

AMA Style

Gong Z, Zhang J. Chromatic Number of Fuzzy Graphs: Operations, Fuzzy Graph Coloring, and Applications. Axioms. 2022; 11(12):697. https://doi.org/10.3390/axioms11120697

Chicago/Turabian Style

Gong, Zengtai, and Jing Zhang. 2022. "Chromatic Number of Fuzzy Graphs: Operations, Fuzzy Graph Coloring, and Applications" Axioms 11, no. 12: 697. https://doi.org/10.3390/axioms11120697

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop