Menu

#1 CFuzzyOperator Function Bloat

Source
open
API (1)
7
2007-07-12
2007-07-12
Ben McCart
No

The CFuzzyOperator class has a multiplicity of functions that all do almost the same thing. There are three categories, fuzzy element, fuzzy set, and fuzzy membership function. All functions for fuzzy set need to be condensed, and all functions for fuzzy membership function need to be condensed. Right now this is a maintenance nightmare because there is both a t-norm and t-conorm function for each of the six operators for both fuzzy sets and fuzzy membership functions, making 24 functions where there should just be two. The only multiplicity of functions t-norm and t-conorm functions should be for fuzzy elements.

The type of t-conorm or t-norm operator should be a parameter to these two functions.

Discussion


Log in to post a comment.