|
- Method resolution order:
- ParametricNorm
- fuzzy.norm.Norm.Norm
- __builtin__.object
Methods defined here:
- __init__(self, type, param)
- Initialize type and parameter
@param param: parameter for norm
@type param: float
- __repr__(self)
- Return representation of instance.
@return: representation of instance
@rtype: string
Data descriptors defined here:
- p
- x
@type: float
- p_range
- range(s) of valid values for p
Methods inherited from fuzzy.norm.Norm.Norm:
- __call__(self, *args)
- Calculate result of norm(arg1,arg2,...)
@param args: list of floats as arguments for norm.
@type args: list of float
@return: result of norm calulation
@rtype: float
@raise NormException: any problem in calculation (wrong number of arguments, numerical problems)
- checkArgs2(self, args)
- Checks args to be 2 float values.
@param args: list of arguments
@type args: list of float?
@return: first two args as float values
@rtype: (float,float)
- checkArgsN(self, args)
- Checks args to be at least 2 float values.
@param args: list of arguments
@type args: list of float?
@return: arguments as float values
@rtype: list of float
- getType(self)
- Return type of norm:
0 = not defined or not classified
1 = t-norm ( = Norm.T_NORM)
2 = s-norm ( = Norm.S_NORM)
Data descriptors inherited from fuzzy.norm.Norm.Norm:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from fuzzy.norm.Norm.Norm:
- S_NORM = 2
- T_NORM = 1
- UNKNOWN = 0
|