Package fuzzy :: Package fuzzify :: Module Dict :: Class Dict
[hide private]
[frames] | no frames]

Class Dict

source code


Fuzzification method which gets adjective memberships in a dictionary instead of values to fuzzify. You should use in the adjectives instances of Set itself.

Q : What can be done with this?

A : Break complexity, by divide big and heavy fuzzy systems into small ones :

input1 ----> *******
input2 ----> * FIS *
input3 ----> *     * ------> output
input4 ----> *******

should be:

input1 ----> *******
input2 ----> *FIS 1* ----+
             *******     |
                         +--> *******
input3 ----> ******* -------> *FIS 3* ----> output
input4 ----> *FIS 2*          *******
             *******

Q : Why don't defuzzify outputs of FIS1 and FIS2 ?

A : Defuzzification mean data loss.

Instance Methods [hide private]
 
__init__(self, *args, **keywords)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
setValue(self, variable, value)
Do not let adjectives calculate their membership values.
source code

Inherited from Base.Base: __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **keywords)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

setValue(self, variable, value)

source code 

Do not let adjectives calculate their membership values. Instead use the provided values from dictionary.

Parameters:
Overrides: Base.Base.setValue