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

Special operator class which returns a constant value.

 
Classes
       
fuzzy.operator.Operator.Operator(__builtin__.object)
Const

 
class Const(fuzzy.operator.Operator.Operator)
    Special operator which returns a constant value.
 
@ivar value: value returned at call of __call__().
@type value: float
 
 
Method resolution order:
Const
fuzzy.operator.Operator.Operator
__builtin__.object

Methods defined here:
__call__(self)
Return stored constant value.
__init__(self, value)
Constructor.
 
@param value: value returned at call of __call__().
@type value: float
__repr__(self)
Return representation of instance.
        
@return: representation of instance
@rtype: string

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

 
Data
        __revision__ = '$Id: Const.py,v 1.15 2010-10-29 19:24:41 rliebscher Exp $'