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

Class Base

source code


Abstract base class for defuzzification which results in a numeric value.

Instance Methods [hide private]
 
__init__(self, INF=None, ACC=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getValue(self, variable)
Defuzzification.
source code
 
accumulate(self, variable, segment_size=None)
combining adjective values into one set
source code
 
value_table(self, set)
get a value table of the polygon representation
source code
string
__repr__(self)
Return representation of instance.
source code
 
_repr_params(self, params)
Helper for representation of instance.
source code

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

Class Variables [hide private]
fuzzy.norm.Norm.Norm _INF = fuzzy.norm.Min.Min()
default value when INF is None
fuzzy.norm.Norm.Norm _ACC = fuzzy.norm.Max.Max()
default value when ACC is None
Instance Variables [hide private]
fuzzy.norm.Norm.Norm ACC
norm for accumulation of set of adjectives
fuzzy.norm.Norm.Norm INF
inference norm, used with set of adjective and given value for it
fuzzy.set.Polygon.Polygon accumulated_set
result of accumulation of activated sets
{string:fuzzy.set.Polygon.Polygon} activated_sets
results of activation of adjectives of variable.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, INF=None, ACC=None)
(Constructor)

source code 

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

Parameters:
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__

_repr_params(self, params)

source code 

Helper for representation of instance.

Add all own params to given list in params.