> Cool Just Right Warm
> 1 | /\ /\ /\
> | / \ O \ / \
> | / \ / \ / \
> | / X X \
> | / / \ / \ \
> | / / O / \ \
> 0 |/______/_____\/_____\______\_____
> 45 60 65 70 85
>
Each MF, as represented above, is a piecewise linear function of one
variable so, for example,
Just_Right(X) =
0 for x < 60
(x-60)/5 for 60 <= x < 65
1-(x-65)/5 for 65 <= x <= 70
0 for x > 70.
Normally one then takes the maximum value over all of the memberships
for the linguistic set and assigns that to the result. Hence, in the
above example one would assert that the temperature is Just Right.
Dave