| |
- fuzzy.Variable.Variable(__builtin__.object)
-
- InputVariable
class InputVariable(fuzzy.Variable.Variable) |
|
General instance of an input variable
The fuzzification is provided by special object for this purpose,
set as fuzzify param.
Also marker, so you can check if any variable is an (instance of) input variable
@ivar fuzzify: Fuzzification method.
@type fuzzify: L{fuzzy.fuzzify.Base.Base} |
|
- Method resolution order:
- InputVariable
- fuzzy.Variable.Variable
- __builtin__.object
Methods defined here:
- __init__(self, fuzzify=None, *args, **keywords)
- Initialize this input variable with a fuzzification method.
@param fuzzify: Fuzzification method.
@type fuzzify: L{fuzzy.fuzzify.Base.Base}
- setValue(self, value)
- Let adjectives calculate their membership values.
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
- getValue(self)
- Return previous input value.
- reset(self)
- Reset meberships of adjectives for new calculation step.
Data descriptors inherited from fuzzy.Variable.Variable:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |