1.37k likes | 3.25k Views
FUZZY SETS AND FUZZY LOGIC Theory and Applications. PART 5 Fuzzy Relations. 1. Crisp and fuzzy relations 2. Projections/Cylindric Ext. 3. Binary fuzzy relations 4. Relations on a single set 5. Equivalence relations. FUZZY SETS AND FUZZY LOGIC Theory and Applications.
E N D
FUZZY SETS AND FUZZY LOGIC Theory and Applications PART 5Fuzzy Relations 1. Crisp and fuzzy relations 2. Projections/Cylindric Ext. 3. Binary fuzzy relations 4. Relations on a single set 5. Equivalence relations
FUZZY SETS AND FUZZY LOGIC Theory and Applications 6. Compatibility relations7. Ordering relations8. Fuzzy morphisms9. Sup-i compositions10. Inf-ωi compositions
Crisp/fuzzy relations • Crisp Relation A crisp relation represents the presence or absence of association, interaction or interconnectedness between the elements of two or more sets. A relation among crisp sets X1, X2, ..., Xnis a subset of the Cartesian product It is denoted by R(X1, X2, ..., Xn).
Crisp/fuzzy relations Using a characteristic function defines the crisp relation R : A relation can be written as a set of ordered tuples. Another convenient way of representing a relation R(X1, X2, ..., Xn) involves an n-dimensional membership array:
Crisp/fuzzy relations • Fuzzy relation Afuzzy relation is a fuzzy setdefined on the Cartesian product of crisp sets X1, X2, ..., Xnwhere tuples 〈x1, x2, ..., xn〉may have varying degrees of membership within the relation. The membership gradeindicates the strength of the relation present between the elements of the tuple.
Projections/Cylindric Ext. • Projection Given a relation R(X1, X2, ..., Xn), let [R↓Y] denote the projection of R on Y that disregards all sets in X except those in the family Then, [R↓Y] is a fuzzy relation whose membership function is defined on the Cartesian product of sets in Y by the equation
Projections/Cylindric Ext. • Cylindric Extension This operation on relations in some sense is an inverse to the projection. Let R be a relation defined on the Cartesian product of sets in Y, and let [ R↑ X-Y ] denote the cylindric extension of R into that are in X but are not in Y. Then, [ R↑ X-Y ](x) = R(y) for each x such that x y.
Projections/Cylindric Ext. • Cylindric closure The resulting relation of a relation which be exactlyreconstructed from several of its projections by taking the set intersection of their cylindricextensions. When projections aredetermined by the max operator, the min operator is normally used for the setintersection.
Projections/Cylindric Ext. Given a set of projections of a relation on X, the cylindric closure, cyl{ Pi }, base on these projections is defined by the equation for each where Yi denotes the family of sets on Pi is defined.
Binary fuzzy relations • Domain : • Range : • Height : • Membership matrices :
Binary fuzzy relations • Sagittal diagram
Binary fuzzy relations • Inverse relation: The inverse of R(X, Y) is denoted R-1(Y, X). by a membership matrix • Max-min composition • Relational join
For crisp relations R(X, X) is reflexive iff <x, x> R for each xX. Otherwise, R(X, X) is called irreflexive. If <x, x> R,R(X, X) is called antireflexive. R(X, X) is symmetric iff <x, y>, <y, x> R for each x, yX. Otherwise, R(X, X) is called asymmetric. If <x, y> and <y, x> R implies x=y, then R(X, X) is called antisymmetric. (strictly antisymmetric: If <x, y> or <y, x> R implies ) Relations on a single set
Relations on a single set • R(X, X) is transitive iff <x, z> R whenever both <x, y>, <y, z> R for at least yX. Otherwise, R(X, X) is called nontransitive. If <x, z> R wheneverboth <x, y>, <y, z> R,R(X, X) is called antitransitive.
Relations on a single set • For fuzzy relations
Relations on a single set For fuzzy relations
Relations on a single set For fuzzy relation R(X, X) • Reflexive: irreflexive: if not for some x X. antireflexive: ε-reflexive: • Symmetric: asymmetric: if not for some x, y X. antisymmetric:
Relations on a single set • Transitive (or, more specifically max-min transitive): nontransitive: if not for some members of X. antitransitive:
Relations on a single set • Transitive closure - RT(X, X) • For crisp relations: RT(X, X) is defined as the relation that is transitive, contains R(X, X), and has the fewest possible members. • For fuzzy relations: the elements of the transitive closure have the smallest possible membership grades that still allow the first two requirements to be met.
Relations on a single set • Algorithm of finding transitive closure
Relations on a single set Example 5.8 • Determine max-min closure RT(X, X) for a fuzzy relation R(X, X)
Equivalence relations • Equivalence relation: A crisp binary relation R(X, X) that is reflexive, symmetric, and transitive. • Equivalence class: Ax is a crisp subset of X, where R(X, X) is a equivalence relation. Ax is referred to as a equivalence class of R(X, X) with respect to x.
Equivalence relations • Similarity relation: A fuzzy binary relation R(X, X) that is reflexive, symmetric, and transitive. • Similarity class : A fuzzy set in which the membership grade of any particular element represents the similarity of that element to the element x.
Equivalence relations Example 5.10 • Let X = {1, 2 , . . . , 10}. The Cartesian product X X ×Y contains 100 members: 〈1, 1〉,〈1, 2〉,〈1, 3〉,… ,〈10, 10〉. Let R(X, X) = {〈x, y〉|x and y have the same remainder when divided by 3 }. The relation is easily shown to be reflexive, symmetric, and transitive and is therefore an equivalence relation on X. The three equivalence classes denned by this relation are:
Equivalence relations A1 = A4 = A7 = A10 = {1, 4, 7, 10 }, A2 = A5 = A8 = {2, 5, 8 }, A3= A6 = A9 = {3, 6, 9}. Hence, in this example, X / R = { {1, 4, 7,10 }, {2, 5, 8 }, {3, 6, 9 } }.
Equivalence relations • Example 5.10 • The fuzzy relation R(X, X) represented by the membership matrix is a similarity relation on X =(a, b, c, d, e, f, g).
Equivalence relations • To verify that R is reflexive and symmetric is trivial. To verify its transitivity, we may employ the algorithm for calculating transitive closures introduced in Sec. 5.4. • If the algorithm is applied to R and terminates after the first iteration, then, clearly, R is transitive. The level set of R is ΛR = {0, .4, .5, .8, .9,1}. Therefore, R is associated with a sequence of five nested partitions π (αR), for α ΛRand α > 0. Their refinement relationship can be conveniently diagrammed by a partition tree, as shown in Fig. 5.7.
Compatibility relations R(X, X)is a reflexive and symmetric fuzzy relation, it is sometimes called a proximity relation. • Compatibility class : Given a crisp compatibility relation R(X, X), a compatibility class is a subset A of X such that〈 x, y 〉 R for all x, y A. • Maximal compatibility class : a compatibility class that is not properly contained within any other compatibility class.
Compatibility relations • Complete cover : The family consisting of all the maximal compatibles induced by R on X is called a complete cover of X with respect to R. • α-compatibility class : A subset A of X such that R(x, y) ≧αfor all x, y A.
Compatibility relations Example 5.11 • Consider a fuzzy relation R(X, X) defined on X = N9 by the following membership matrix:
Compatibility relations • Since the matrix is symmetric and all entries on the main diagonal are equal to 1, the relation represented is reflexive and symmetric; therefore, it is a compatibility relation. • The graph of the relation is shown in Fig. 5.8; its complete α-covers for α > 0 and α ΛR= {0, .4, .5, .7, .8,1} are depicted in Fig. 5.9.
Ordering relations • Partial ordering : A crisp binary relation R(X, X) that is reflexive, antisymmetric, and transitive is called a partial ordering. • Minimum, maximum, minimal, maximal
Ordering relations • Lower bound, greatest lower bound: Let X be a set on which a partial ordering is defined, and let A be a subset of X(A X). If x X and x y for every y A, then x is called a lower bound of A on X with respect to the partial ordering. If a particular lower bound succeeds every other lower bound of A, then it is called the greatest lower bound, or infimum, of A.
Ordering relations • Upper bound, least upper bound: If x X and y x for every y A, then x is called an upper bound of A on X with respect to the relation. If a particular upper bound precedes every other upper bound of A, then it is called the least upper bound, or supremum, of A. • Lattice: A partial ordering on a set X that contains a greatest lower bound and a least upper bound for every subset of two elements of X is called a lattice.
Ordering relations • Hasse diagram: Each element of X is expressed by a single node that is connected only to the nodes representing its immediate predecessors and immediate successors. The connections are directed in order to distinguish predecessors from successors; the arrow ← indicates the inequality ≦ . Diagrams of this sort are called Hasse diagrams.
Ordering relations Example 5.12 • Three crisp partial orderings P, Q, and R on the set X = {a, b, c, d, e} are defined by their membership matrices (crisp) and their Hasse diagrams in Fig. 5.10. The underlined entries in each matrix indicate the relationship of the immediate predecessor and successor employed in the corresponding Hasse diagram. P has no special properties, Q is a lattice, and R is an example of a lattice that represents a linear ordering.
Ordering relations • Fuzzy partial ordering : A fuzzy binary relation R on a set X is a fuzzy partial ordering iff it is reflexive, antisymmetric, and transitive under some form of fuzzy transitivity. • Dominating class: • Dominated class:
Ordering relations • Undominated: • Undominating:
Ordering relations • Fuzzy upper bound :
Ordering relations • Least upper bound :
Ordering relations Example 5.13 • The following membership matrix defines a fuzzy partial ordering R on the set X = {a, b, c, d, e}: • The columns of the matrix give the dominated class for each element. Under this ordering, the element d is undominated, and the element c is undominadng.
Ordering relations • For the subset A ={a, b}, the upper bound is the fuzzy set produced by the intersection of the dominating classes for a and b. Employing the min operator for fuzzy intersection, we obtain • The unique least upper bound for the set A is the element b. All distinct crisp orderings captured by the given fuzzy partial ordering R are shown in Fig. 5.11. We can see that the orderings became weaker with the increasing value of α.