public Type inferType ( Term term ) { if ( term instanceof Constant || term instanceof Linear || term instanceof Function ) { return Type . TakagiSugeno ; } return Type . Tsukamoto ; }
Infers the type of the defuzzifier based on the given term . If the given term is Constant Linear or Function then the type is TakagiSugeno ; otherwise the type is Tsukamoto