MergeBuilder
- class hybrid_learning.fuzzy_logic.logic_base.merge_operation.MergeBuilder(merge_class, symb=None, additional_args=None)[source]
 Bases:
objectReturn a
Mergeoperation of specified class with additional settings upon call. Common additional init arguments can be specified and a newSYMB, overwriting theMerge.SYMB(or attaching aSYMBattribute to another builder). Attribute access is passed over to themerge_classspecified. For easy instantiation see alsoMerge.with_().Public Data Attributes:
The additional arguments to and over to the
Mergeclass on each call.Public Methods:
symb_(symb)Set SYMB and return self.
with_(**additional_args)Update the additional arguments.
variadic_(*args, **kwargs)Return a variadic instance of the wrapped
merge_class.Special Methods:
__init__(merge_class[, symb, additional_args])__call__(*args, **kwargs)Build an instance of the specified Merge class with the additional args.
__getattr__(k)Pass attribute requests over to Merge class.
__repr__()Return repr(self).
- Parameters
 
- __call__(*args, **kwargs)[source]
 Build an instance of the specified Merge class with the additional args. The given
kwargswill overwrite arguments fromadditional_args.- Return type
 
- symb_(symb)[source]
 Set SYMB and return self. Can be used in chain assignments.
- Parameters
 symb (str) –
- Return type
 
- variadic_(*args, **kwargs)[source]
 Return a variadic instance of the wrapped
merge_class. Calls thevariadic_function ofmerge_class.- Return type