fuzzifier.registry
- class axisfuzzy.fuzzifier.registry.FuzzificationStrategyRegistry[source]
Bases:
object- get_strategy(mtype, method=None)[source]
- Return type:
Optional[Type[FuzzificationStrategy]]
- register(mtype, method, strategy_cls, is_default=False)[source]
Register a new fuzzification strategy.
- Parameters:
mtype (
str) – The type of fuzzy number (e.g., ‘qrofn’).method (
str) – The name of the strategy (e.g., ‘expert’, ‘hesitation’).strategy_cls (
Type[FuzzificationStrategy]) – The class implementing the strategy.is_default (
bool) – Whether this should be the default method for the mtype.
- Return type:
None