Package fuzzy :: Module OutputVariable :: Class OutputVariable
[hide private]
[frames] | no frames]

Class OutputVariable

source code


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

Instance Methods [hide private]
 
__init__(self, defuzzify=None, *args, **keywords)
Initialize this output variable with a defuzzification method.
source code
 
getValue(self)
defuzzification
source code
 
_repr_params(self, params)
Helper for representation of instance.
source code

Inherited from Variable.Variable: __repr__, getName, reset, setValue

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
fuzzy.defuzzify.Base.Base defuzzify
Defuzzification method.

Inherited from Variable.Variable: description, max, min, unit

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, defuzzify=None, *args, **keywords)
(Constructor)

source code 

Initialize this output variable with a defuzzification method.

Parameters:
Overrides: object.__init__

getValue(self)

source code 

defuzzification

Overrides: Variable.Variable.getValue

_repr_params(self, params)

source code 

Helper for representation of instance.

Add all own params to given list in params.

Overrides: Variable.Variable._repr_params