fuzzy.defuzzify.Base
index
/fuzzy/defuzzify/Base.py @ Get pyfuzzy at SourceForge.net. Fast, secure and Free Open Source software downloads

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

 
Classes
       
__builtin__.object
Base
fuzzy.Exception.FuzzyException(exceptions.Exception)
DefuzzificationException

 
class Base(__builtin__.object)
    Abstract base class for defuzzification
which results in a numeric value.
 
 @ivar INF: inference norm, used with set of adjective and given value for it
 @type INF: L{fuzzy.norm.Norm.Norm}
 @ivar ACC: norm for accumulation of set of adjectives
 @type ACC: L{fuzzy.norm.Norm.Norm}
 @cvar _INF: default value when INF is None
 @type _INF: L{fuzzy.norm.Norm.Norm}
 @cvar _ACC: default value when ACC is None
 @type _ACC: L{fuzzy.norm.Norm.Norm}
 @ivar activated_sets: results of activation of adjectives of variable.
 @type activated_sets: {string:L{fuzzy.set.Polygon.Polygon}}
 @ivar accumulated_set: result of accumulation of activated sets
 @type accumulated_set: L{fuzzy.set.Polygon.Polygon}
 
  Methods defined here:
__init__(self, INF=None, ACC=None)
@param INF: inference norm, used with set of adjective and given value for it
@type INF: L{fuzzy.norm.Norm.Norm}
@param ACC: norm for accumulation of set of adjectives
@type ACC: L{fuzzy.norm.Norm.Norm}
__repr__(self)
Return representation of instance.
        
@return: representation of instance
@rtype: string
accumulate(self, variable, segment_size=None)
combining adjective values into one set
getValue(self, variable)
Defuzzification.
value_table(self, set)
get a value table of the polygon representation

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class DefuzzificationException(fuzzy.Exception.FuzzyException)
    
Method resolution order:
DefuzzificationException
fuzzy.Exception.FuzzyException
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors inherited from fuzzy.Exception.FuzzyException:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
Data
        __revision__ = '$Id: Base.py,v 1.12 2010-03-28 18:40:33 rliebscher Exp $'