Loading in 5 sec....

Efficient Decomposition of Large Fuzzy Functions and RelationsPowerPoint Presentation

Efficient Decomposition of Large Fuzzy Functions and Relations

- By
**benny** - Follow User

- 135 Views
- Uploaded on

Download Presentation
## PowerPoint Slideshow about ' Efficient Decomposition of Large Fuzzy Functions and Relations' - benny

**An Image/Link below is provided (as is) to download presentation**

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript

Minimization of Fuzzy Functions Relations

- Fuzzy functions are realized in:
- analog hardware
- software

- Why to minimize fuzzy logic functions?
- Smaller area
- Lower Power
- Simpler and faster program
- Better learning, Occam Razor - not covered here

Minimization Approaches to Fuzzy Functions Relations

- Two level minimization (Siy,Kandel, Mukaidono, Lee, Rovatti et al)
- Algebraic factorization (Wielgus)
- Genetic algorithms (Thrift, Bonarini, many authors)
- Fuzzy decision diagrams (Moraga, Perkowski)
- Functional decomposition (Kandel, Kandel and Francioni)

Graphical Representations Relations

- Fuzzy Maps
- Lattice of variables
- The Subsumption rule
- Kandel’s methods to decompose Fuzzy Functions

Identities Relations

The identities for fuzzy algebra are:

Idempotency: X + X = X, X * X = X

Commutativity: X + Y = Y + X, X * Y = Y * X

Associativity: (X + Y) + Z = X + (Y + Z),

(X * Y) * Z = X * (Y* Z)

Absorption: X + (X * Y) = X, X * (X + Y) = X

Distributivity: X + (Y * Z) = (X + Y) * (X + Z),

X * (Y + Z) = (X * Y) + (X * Z)

Complement: X’’ = X

DeMorgan's Laws: (X + Y)’ = X’ * Y’, (X * Y)’ = X’ + Y’

Transformations Relations

Some transformations of fuzzy sets with examples follow:

x’b + xb = (x + x’)b b

xb + xx’b = xb(1 + x’) = xb

x’b + xx’b = x’b(1 + x) = x’b

a + xa = a(1 + x) = a

a + x’a = a(1 + x’) = a

a + xx’a = a

a + 0 = a

x + 0 = x

x * 0 = 0

x + 1 = 1

x * 1 = x

Examples:

a + xa + x’b + xx’b = a(1 + x) + x’b(1 + x) = a + x’b

a + xa + x’a + xx’a = a(1 + x + x’ + xx’) = a

Differences Between Boolean Logic and Fuzzy Logic Relations

Boolean logic the value of a variable and its inverse are always disjoint (X * X’ = 0) and (X + X’ = 1) because the values are either zero or one.

Fuzzy logic membership functions can be either disjoint or non-disjoint.

Example of a fuzzy non-linear and linear membership function X is shown (a) with its inverse membership function shown in (b).

We first discuss a simplified logic with few literals

Fuzzy Intersection and Union Relations

- From the membership functions shown in the top in (a), and complement X’ (b) the intersection of fuzzy variable X and its complement X’ is shown bottom in (a).
- From the membership functions shown in the top in (a), and complement X’ (b) the union of fuzzy variable X and its complement X’ is shown bottom in (b).

Our new approach Relations

APPROACHES TO FUZZY LOGIC DECOMPOSITION- Kandel's and Francioni's Approach based on graphical representations:
- Requires subsumption-based reduction to canonical form
- Graphical: uses S-Maps and Fuzzy Maps
- Decomposition Implicant Pattern (DIP)
- Variable Matching DIP’s Table
- non-algorithmic
- not scalable to larger functions
- no software
Fuzzy to Multiple-valued Function Conversion Approach and use of Generalized Ashenhurst-Curtis Decomposition

New Approach: Fuzzy to Multiple-valued Function Conversion and A/C Decomposition

- Fuzzy Function Ternary Map
- Fuzzy Function to Three-valued Function Conversion:
- The MAX operation forms the result
- The result from the canonical form is the same as from the non-canonical form
- Thus time consuming reduction to canonical form is not necessary

Fuzzy Function Ternary Map and A/C Decomposition

This shows the mapping between the fuzzy terms and terms in the ternary map.

Fuzzy Function to Three-valued Function and A/C DecompositionConversion Example

Non-canonical

Conversion of the Fuzzy function terms:

x2x’2

x’1x2

x1x’2

x1x’1x’2

In non-canonical form using the MIN operation as shown for

f = x2x’2 +x’1x2 +x1x’2+ x1x’1x’2

x2x’2

x’1x2

x1x’2

x1x’1x’2

The MAX operation forms the result and A/C Decomposition

- Combining the three-valued term functions into a single three-valued function is performed using the MAX Operation

F = x and A/C Decomposition2x’2 +x’1x2 +x1x’2+ x1x’1x’2

conversion is equal to

F(x1x2) =x’1x2+x1x’2

The result from the canonical form is the same as from the non-canonical formcanonical

canonical

Non-canonical

Initial non-canonical expression and A/C Decomposition

Entire flow of our methodF(x,y,z) = xz + x’y’zz’ + yz

decomposed expression

G(x,y) = x+y

H(x,y) = Gz + zz’.

Fuzzy to Ternary Conversion

Generalized Ashenhurst-Curtis Decomposition

Decomposed Function

Initial non-canonical expression and A/C Decomposition

Entire flow of our methodF(x,y,z) = xz + x’y’zz’ + yz

Only three patterns

0 1 0

Decomposition is based on finding patterns in this table

0 1 1

0 1 2

This way, the table is rewritten to the table from the next page

Two solutions are obtained in this case and A/C Decomposition

Multiple-valued function minimized and converted to fuzzy circuitFuzzy terms Gz, G’zz’ and zz’ of H

are shown.

G(x,y) = x+y,

H(x,y) = Gz+zz’

G(x,y) = x+y,

H(x,y) = Gz+G’zz’

Generalization of the Ashenhurst-Curtis decomposition model and A/C Decomposition

This kind of tables known from Rough Sets, Decision Trees, etc Data Mining

Decomposition is hierarchical etc Data Mining

At every step many decompositions exist

Ashenhurst Functional Decomposition etc Data Mining

X

A - free set

Evaluates the data function and attempts to decompose into simpler functions.

F(X) = H( G(B), A ), X = A B

B - bound set

if A B = , it is disjoint decomposition

if A B , it is non-disjoint decomposition

A Standard Map of function ‘z’ etc Data Mining

Explain the concept of generalized don’t cares

Bound Set

a b \ c

Columns 0 and 1

and

columns 0 and 2

are compatible

column

compatibility = 2

Free Set

z

Relation etc Data Mining

NEW Decomposition of Multi-Valued RelationsF(X) = H( G(B), A ), X = A B

A

X

Relation

Relation

B

if A B = , it is disjoint decomposition

if A B , it is non-disjoint decomposition

Bound Set etc Data Mining

a b \ c

C0

C1

Free Set

C2

Forming a CCG from a K-MapColumns 0 and 1 and columns 0 and 2 are compatible

column compatibility index = 2

Column Compatibility Graph

z

Forming a CIG from a K-Map etc Data Mining

a b \ c

C0

C1

C2

z

Columns 1 and 2 are incompatible

chromatic number = 2

Column Incompatibility Graph

C etc Data Mining0

C0

C1

C1

C2

C2

Column Compatibility Graph

Column Incompatibility Graph

CCG and CIG are complementary

Maximal clique covering

clique partitioning

Graph coloring

graph multi-coloring

clique partitioning example. etc Data Mining

Maximal clique covering example. etc Data Mining

\ etc Data Mining c

\ c

G

G

Map of relation G

After induction

From CIG

g = a high pass filter whose acceptance threshold begins at

c > 1

Cost Function etc Data Mining

Decomposed Function Cardinalityis the total cost of all blocks.

Cost is defined for a single block in terms of the block’s n inputs and m outputs

Cost := m * 2n

B2 etc Data Mining

B1

B3

Cost(B2) =23*2=16

Cost(B3) =22*1=4

Cost(B1) =24*1=16

Example of DFC calculationTotal DFC = 16 + 16 + 4 = 36

Other cost functions

Decomposition Algorithm etc Data Mining

- Find a set of partitions (Ai, Bi) of input variables (X) into free variables (A) and bound variables (B)
- For each partitioning, find decompositionF(X) = Hi(Gi(Bi), Ai) such that column multiplicity is minimal, and calculate DFC
- Repeat the process for all partitioning until the decomposition with minimum DFC is found.

Algorithm Requirements etc Data Mining

- Since the process is iterative, it is of high importance that minimization of the column multiplicity index is done as fast as possible.
- At the same time, for a given partitioning, it is important that the value of the column multiplicity is as close to the absolute minimum value

D etc Data Mining

1

0

AB

C

0

0

Free Set

0

1

1

1

X

Column Multiplicity-other exampleBound Set

CD

1

3

4

2

1

3

2

4

X=G(C,D)

X=C in this case

But how to calculate function H?

Decomposition of multiple-valued etc Data Miningrelation

compatible

Compatibility Graph for columns

Karnaugh Map

Kmap of block G

One level of decomposition

Kmap of block H

Compatibility of columns for Relations is not transitive etc Data Mining!

This is an important difference between decomposing functions and relations

Decomposition of Relations etc Data Mining

Now H is a relation

which can be either decomposed or minimized directly in a sum-of-products fashion

Variable ordering etc Data Mining

But how to select good partitions of variables?

Vacuous variables removing etc Data Mining

- Variables b and d reduce uncertainty of y to 0 which means they provide all the information necessary for determination of the output y
- Variables a and c are vacuous

Example of removing inessential variables (a) original function (b)variable a removed (c) variable b removed, variable c is no longer inessential.

Discovering new concepts function (b)

- Discovering concepts useful for purchasing a car

OTHER APPROACHES TO FUZZY LOGIC MINIMIZATION function (b)

Graphical Representations

- Fuzzy to Multiple-valued Function Conversion Approach
- Fuzzy Logic Decision Diagrams Approach
- Fuzzy Logic Multiplexer

Fuzzy Maps function (b)

Fuzzy map may be regarded as an extension of the Veitch diagram, which forms also the basis for the Karnauph map.

The functions shown in (a) and (b) are equivalent to f(x1, x2) =x’1 x2+x1 x’1 x’2 =x1 x’1

(b) f(x1, x2) =x1 x’1

(a) f(x1, x2) =x1 x’1 x2+x1 x’1 x’2

(a) function (b) f(x1, x2) =x1 x’1 x2+x1 x’1 x’2

x2=0.3

x2’=0.7

(a) f(x1, x2) =min(x1 , x’1, 0.3) max min(x1 ,x’1 , 07) = min(0.5, 0.3) max min (0.5, 0.7) = 0.3 max 0.5 = 0.5 = x1 x’1

Assuming max value of x1 x’1

Please check other values

(b) f(x1, x2) =x1 x’1

Lattice of Two Variables function (b)

- Shows the relationship of all the possible terms.
- Shows which two terms can be reduced to a single term.

The Subsumption Rule function (b)

Used to reduce a fuzzy logic function.

xi x’I +’ xi x’I = xi x’I

Operations on two variable map are shown with I subsuming i.

The Subsumption Rule function (b)

- Used to reduce a fuzzy logic function.
- The subsumption rule is:
xi x’I +’ xi x’I = xi x’I

- Operations on two variable map are shown with I subsuming i.

Form Needed to Decompose Fuzzy Functions function (b)

- Form requirements:
- Sum-of-products
- Canonical
- Figures show the function x2 x’2 +x’1 x2 +x1 x’2 +x1 x’1 x’2
- before using the subsuming rules in (a) and after in (d) x’1 x2 +x1 x’2 .

x1

x function (b)i x’I +’ xi x’I = xi x’I

subsumption

Let us use subsumption to verify:

x2 x’2 +x’1 x2 +x1 x’2 +x1 x’1 x’2

= x2 x’2 +x’1 x2 +x1 x’2(1+x’1)

= x2 x’2 +x’1 x2 +x1 x’2

= x’1 x2 +x1 x’2 .

Graphical Representations function (b)

- Fuzzy Maps
- Lattice of two variables
- The Subsumption rule
- Form to Decompose a Fuzzy Functions

APPROACHES TO FUZZY LOGIC DECOMPOSITION function (b)

- Graphical Representations
Fuzzy Logic Decision Diagrams Approach

- Fuzzy Logic Multiplexer

Fuzzy Logic Decision Diagrams Approach function (b)

w w’(z + x’ z z’ + xz) + w’ (x’z z’ + xz) + w(z+xz)+ xz

Result of Example using (FLDD) function (b)

(w+x)z + (w+x)’ z’z = wz + xz + w’x’z’z + w w’z + w w’ x’ z z’

Fuzzy Logic Multiplexer function (b)

d3xx’

Fuzzy Logic Circuit Implemented using Multiplexers function (b)

Download Presentation

Connecting to Server..