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

Class ParametricNorm

source code


Abstract base class for any parametric fuzzy norm

Instance Methods [hide private]
 
__init__(self, type, param)
Initialize type and parameter
source code
 
_checkParam(self, value)
check parameter if allowed for paramter p
source code
string
__repr__(self)
Return representation of instance.
source code

Inherited from Norm.Norm: __call__, checkArgs2, checkArgsN, getType

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

Class Variables [hide private]
  _range = None

Inherited from Norm.Norm: S_NORM, T_NORM, UNKNOWN

Instance Variables [hide private]
float p
parameter for norm
Properties [hide private]
  p_range
range(s) of valid values for p

Inherited from object: __class__

Method Details [hide private]

__init__(self, type, param)
(Constructor)

source code 

Initialize type and parameter

Parameters:
  • param (float) - parameter for norm
Overrides: object.__init__

_checkParam(self, value)

source code 

check parameter if allowed for paramter p

Parameters:
  • value (float) - the value to be checked

__repr__(self)
(Representation operator)

source code 

Return representation of instance.

Returns: string
representation of instance
Overrides: object.__repr__

Instance Variable Details [hide private]

p

parameter for norm
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, value)
Type:
float

Property Details [hide private]

p_range

range(s) of valid values for p

Get Method:
unreachable.fget(self)