*
* @param ruleAccumulationMethodType
* @return
*/
RuleAccumulationMethod createAccumulationMethod(String ruleAccumulationMethodType) {
RuleAccumulationMethod ruleAccumulationMethod;
if( ruleAccumulationMethodType.equalsIgnoreCase("MAX") ) ruleAccumulationMethod = new RuleAccumulationMethodMax();
else if( ruleAccumulationMethodType.equalsIgnoreCase("BSUM") ) ruleAccumulationMethod = new RuleAccumulationMethodBoundedSum();
else if( ruleAccumulationMethodType.equalsIgnoreCase("NSUM") ) ruleAccumulationMethod = new RuleAccumulationMethodNormedSum();
else if( ruleAccumulationMethodType.equalsIgnoreCase("PROBOR") ) ruleAccumulationMethod = new RuleAccumulationMethodProbOr();
else if( ruleAccumulationMethodType.equalsIgnoreCase("SUM") ) ruleAccumulationMethod = new RuleAccumulationMethodSum();