Professional Documents
Culture Documents
Mamdani
Sugeno
Mamdani
1975Ebrahim Mamdani
Mamdani
Mamdani-style
z
z
z
z
(rule)
:
Rule: 1
IF
OR
THEN
Rule: 2
IF
AND
THEN
x
y
z
x
y
z
is
is
is
is
is
is
A3
B1
C1
Rule: 1
IF
project_funding is adequate
OR
project_staffing is small
THEN risk is low
A2
B2
C2
Rule: 2
IF
project_funding is marginal
AND project_staffing is large
THEN risk is normal
Rule: 3
IF
x is A1
THEN z is C3
Rule: 3
IF
project_funding is inadequate
THEN risk is high
1:
x1 y 1
(project_funding project_staffing)
2:
(AND OR)
()
OR
4-10(1)
(4-14)
AB(x) = max [A(x), B(x)]
4-10(
2)AND(4-13)
AB(x) = min [A(x), B(x)]
Mamdani-style
1
A3
B1
C1
0.1
0.0
0
x1
Rule 1: IF x is A3 (0.0) OR
1
y1
y is B1 (0.1)
A2
0
x1
y1
A1
z is C1 (0.1)
AND
(min)
0.2
C1
C2
THEN
C3
THEN
z is C2 (0.2)
C2
Rule 3: IF x is A1 (0.5)
1
0.5 C1
0.5
x1
B2
0
C3
0.1
THEN
0.7
0.2
X
OR
(max)
C2
C3
z is C3 (0.5)
3:
C1
0.1
0
C2
0.5
C3
0.2
Z
z is C1 (0.1)
0.5
0.1
z is C2 (0.2)
z is C3 (0.5)
0.2
0
4:
(COG)
b
A
COG =
x x dx
a
b
A
a
x dx
ab A
4-13 COG
COG
1.0
0.8
0.6
0.4
0.2
0.0
150
a
160
170
180
190
200
210
(COG):
Sugeno
Mamdani-style
Michio Sugeno
10
Sugeno-style Mamdani
Sugeno(
) Sugeno-style
IF
x is A
AND y is B
THEN z is f (x, y)
x y z A B X Y
f (x,y)
Sugeno
IF
x is A
AND y is B
THEN z is k
k
Sugeno-style
1
A3
B1
0.1
0.0
0
x1
Rule 1: IF x is A3 (0.0)
y1
OR y is B1 (0.1)
A2
0
x1
y1
A1
0
z is k1 (0.1)
AND
(min)
0.2
0
THEN
k2
z is k2 (0.2)
Rule 3: IF x is A1 (0.5)
k1
1
0.5
0.5
x1
B2
0
0.1
THEN
0.7
0.2
X
OR
(max)
THEN
k3
z is k3 (0.5)
Sugeno-style
1
1
0.1
0
0.5
0.5
0.1
0
0.2
k1
z is k1 (0.1)
k2
z is k2 (0.2)
k3
z is k3 (0.5)
0.2
k1
k2
k3
(WA):
Sugeno-style
MamdaniSugeno?
Mamdani
Mamdani
Sugeno
(1)
(2)
(3)
(4)
(5)
1:
()
ms
n
()
Very Short
VS
[0, 0.3]
Short
[0.1, 0.5]
Medium
[0.4, 0.7]
()
Small
[0, 0.35]
Medium
[0.30, 0.70]
Large
[0.60, 1]
()
Low
[0, 0.6]
Medium
[0.4, 0.8]
High
[0.6, 1]
()
Very Small
VS
[0, 0.30]
Small
[0, 0.40]
Rather Small
RS
[0.25, 0.45]
Medium
[0.30, 0.70]
Rather Large
RL
[0.55, 0.75]
Large
[0.60, 1]
Very Large
VL
[0.70, 1]
2:
3:
FAM
s
L
VS
RL
RS
VL
VS
VS
VS
10
VS
19
VS
VL
VS
11
VS
20
VS
12
VS
21
VS
VS
13
VS
RS
22
VS
VS
14
23
VS
15
VS
24
VS
16
VS
25
VS
RL
17
RS
26
VS
18
27
RS
1
1. If(utilisation_factoris L) then(number_of_sparesis S)
2. If(utilisation_factoris M) then(number_of_spares
is M)
3. If(utilisation_factoris H) then(number_of_spares
is L)
4. If(mean_delayis VS) and n( umber_of_servers
is S) then(number_of_spares
is VL)
5. If(mean_delayis S) and (number_of_servers
is S) then(number_of_spares
is L)
6. If(mean_delayis M) and (number_of_servers
is S) then(number_of_spares
is M)
7. If(mean_delayis VS) and (number_of_servers
is M)then(number_of_spares
is RL)
8. If(mean_delayis S) and (number_of_servers
is M)then(number_of_spares
is RS)
9. If(mean_delayis M) and (number_of_servers
is M)then(number_of_sp
aresis S)
10.If (mean_delayis VS) and (number_of_servers is L) then
number_of_spares
(
is M)
11.If (mean_delayis S) and (number_of_servers is L) then
number_of_spares
(
is S)
12.If (mean_delayis M) and (number_of_servers is L) then
number_of_spares
(
is VS)
4:
C/C++
Pascal
MathWorks MATLAB Fuzzy Logic Toolbox
Fuzzy Systems Engineering Fuzzy Knowledge
Builder
5:
s
L
RS
RL
RS
VS
RS
VS
VS
VS
VS
VS
VS
RL
VS
VS
VS
VS
RS VS
VS
VS
S VS
VS
VS
VS
RS
RS VL
RL
RS
S VL
VS
m
RS
RS
RL RL
VS VS VS
VS VS VS
S
VS
L S
VS VS VS
VS VS VS
S
VS
RL S
VS VS VS
VS VS VS
M VS VS VS
VS VS VS
VS VS VS
RS VS VS VS
VS VS VS
VS VS VS
H
S VS VS VS
M
L
VS
S M
0.35
0.3
0.25
0.2
0.15
0
1
0.2
0.8
0.6
0.4
0.4
0.6
mean_delay
0.2
0
number_of_servers
0.35
0.3
0.25
0.2
0.15
0
1
0.2
0.8
0.6
0.4
0.4
0.6
mean_delay
0.2
0
number_of_servers
1.
2.
3.
25%50%
4.
5.
6.
7.