Package fuzzy :: Package defuzzify :: Module LM :: Class LM
[hide private]
[frames] | no frames]

Class LM

source code


Defuzzification which uses the left most (local) maximum.

Instance Methods [hide private]
 
__init__(self, INF=None, ACC=None, failsafe=None, *args, **keywords)
Initialize the defuzzification method with INF,ACC and an optional value in case defuzzification is not possible
source code
 
getValue(self, variable)
Defuzzification.
source code
 
_repr_params(self, params)
Helper for representation of instance.
source code

Inherited from Base.Base: __repr__, accumulate, value_table

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

Class Variables [hide private]

Inherited from Base.Base (private): _ACC, _INF

Instance Variables [hide private]

Inherited from Base.Base: ACC, INF, accumulated_set, activated_sets

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, INF=None, ACC=None, failsafe=None, *args, **keywords)
(Constructor)

source code 

Initialize the defuzzification method with INF,ACC and an optional value in case defuzzification is not possible

Parameters:
  • INF - inference norm, used with set of adjective and given value for it
  • ACC - norm for accumulation of set of adjectives
Overrides: object.__init__

getValue(self, variable)

source code 

Defuzzification.

Overrides: Base.Base.getValue

_repr_params(self, params)

source code 

Helper for representation of instance.

Add all own params to given list in params.

Overrides: Base.Base._repr_params