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

Base class for any fuzzy set defined by a function (not a polygon).

 
Classes
       
fuzzy.set.Set.Set(__builtin__.object)
Function

 
class Function(fuzzy.set.Set.Set)
    Base class for any fuzzy set defined by a function (not a polygon).
 
 
Method resolution order:
Function
fuzzy.set.Set.Set
__builtin__.object

Methods inherited from fuzzy.set.Set.Set:
__call__(self, x)
Return membership of x in this fuzzy set.
This method makes the set work like a function.
 
@param x: value x
@type x: float
@return: membership for value x
@rtype: float
__repr__(self)
Return representation of instance.
        
@return: representation of instance
@rtype: string
getCOG(self)
Returns center of gravity.
 
@return: x-value of center of gravity
@rtype: float
getValuesX(self)
Internal helper function to help convert arbitrary fuzzy sets in 
fuzzy sets represented by a polygon.
getValuesXY(self, flat=True)
Internal helper function to help convert arbitrary fuzzy sets in 
fuzzy sets represented by a polygon.

Data descriptors inherited from fuzzy.set.Set.Set:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        __revision__ = '$Id: Function.py,v 1.13 2010-03-28 18:44:46 rliebscher Exp $'