public void add(FuzzyRule rule) {
   this.rules.put(rule.getName(), rule);
 }
Exemple #2
0
 /**
  * This method assign the values of the fuzzy rule to another one
  *
  * @param i The position of the rule
  * @param b A fuzzy rule
  */
 void setComponent(int i, FuzzyRule b) {
   R.setComponent(i, b.clone());
 }