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

Class InputVariable

source code


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

Instance Methods [hide private]
 
__init__(self, fuzzify=None, *args, **keywords)
Initialize this input variable with a fuzzification method.
source code
 
setValue(self, value)
Let adjectives calculate their membership values.
source code
 
_repr_params(self, params)
Helper for representation of instance.
source code

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

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

Instance Variables [hide private]
fuzzy.fuzzify.Base.Base fuzzify
Fuzzification method.

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

Initialize this input variable with a fuzzification method.

Parameters:
Overrides: object.__init__

setValue(self, value)

source code 

Let adjectives calculate their membership values.

Overrides: Variable.Variable.setValue

_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