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

General instance of an output variable.

 
Classes
       
fuzzy.Variable.Variable(__builtin__.object)
OutputVariable

 
class OutputVariable(fuzzy.Variable.Variable)
    General instance of an output variable.
The defuzzification is provided by special object for this purpose,
set as defuzzify param.
Also marker, so you can check if any variable is an (instance of) output variable 
 
@ivar defuzzify: Defuzzification method.
@type defuzzify: L{fuzzy.defuzzify.Base.Base}
 
 
Method resolution order:
OutputVariable
fuzzy.Variable.Variable
__builtin__.object

Methods defined here:
__init__(self, defuzzify=None, *args, **keywords)
Initialize this output variable with a defuzzification method.
 
@param defuzzify: Defuzzification method.
@type defuzzify: L{fuzzy.defuzzify.Base.Base}
getValue(self)
defuzzification

Methods inherited from fuzzy.Variable.Variable:
__repr__(self)
Return representation of instance.
        
@return: representation of instance
@rtype: string
getName(self, system)
Lookup the name given this variable in the given system
reset(self)
Reset meberships of adjectives for new calculation step.
setValue(self, value)
Just store the value.

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

 
Data
        __revision__ = '$Id: OutputVariable.py,v 1.14 2010-03-28 18:38:08 rliebscher Exp $'