| |
- 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)
| |