| |
- __builtin__.object
-
- Variable
class Variable(__builtin__.object) |
|
Base class for any kind of fuzzy variable.
Returns as output the previous input value.
@ivar description: Description of the fuzzy variable
@type description: string
@ivar min: minimum value (not strictly enforced, but useful for some external tools)
@type min: float
@ivar max: maximum value (not strictly enforced, but useful for some external tools)
@type max: float
@ivar unit: Unit of the values
@type unit: string |
|
Methods defined here:
- __init__(self, description='', min=0.0, max=1.0, unit='', adjectives=None)
- @param description: Description of the fuzzy variable
@type description: string
@param min: minimum value (not strictly enforced, but useful for some external tools)
@type min: float
@param max: maximum value (not strictly enforced, but useful for some external tools)
@type max: float
@param unit: Unit of the values
@type unit: string
- __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.
- setValue(self, value)
- Just store the value.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |