public void configure ( TNorm conjunction , SNorm disjunction , TNorm implication , SNorm aggregation , Defuzzifier defuzzifier , Activation activation ) { try { for ( RuleBlock ruleblock : this . ruleBlocks ) { ruleblock . setConjunction ( conjunction == null ? null : conjunction . clone ( ) ) ; ruleblock . setDisjunction ( disjunction == null ? null : disjunction . clone ( ) ) ; ruleblock . setImplication ( implication == null ? null : implication . clone ( ) ) ; ruleblock . setActivation ( activation == null ? new General ( ) : activation . clone ( ) ) ; } for ( OutputVariable outputVariable : this . outputVariables ) { outputVariable . setDefuzzifier ( defuzzifier == null ? null : defuzzifier . clone ( ) ) ; outputVariable . setAggregation ( aggregation == null ? null : aggregation . clone ( ) ) ; } } catch ( Exception ex ) { throw new RuntimeException ( ex ) ; } }
Configures the engine with clones of the given operators .