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

Class Compound

source code


Take values of input operators and process them through the given norm.

Instance Methods [hide private]
 
__init__(self, norm, *inputs)
Constructor.
source code
float
__call__(self)
Get current value of input and combine them with help of norm.
source code
string
__repr__(self)
Return representation of instance.
source code

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

Instance Variables [hide private]
  inputs
list of inputs (subclassed from fuzzy.operator.Operator.Operator).
fuzzy.norm.Norm.Norm norm
how to combine inputs.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, norm, *inputs)
(Constructor)

source code 

Constructor.

Parameters:
Overrides: object.__init__

__call__(self)
(Call operator)

source code 

Get current value of input and combine them with help of norm.

Returns: float
result of operator calculation
Raises:
Overrides: Operator.Operator.__call__

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__

Instance Variable Details [hide private]

norm

how to combine inputs. (eg. Min,Max,...)
Type:
fuzzy.norm.Norm.Norm