Пример #1
0
 /** Prints on the screen the set of rules */
 public void print() {
   for (int i = 0; i < reglas.size(); i++) {
     Complejo c = (Complejo) reglas.get(i);
     System.out.print("\nRule " + (i + 1) + ": IF  ");
     c.print();
     System.out.print(" THEN " + nombreClase + " -> " + valorNombreClases[c.getClase()] + "  ");
     c.printDistribucion();
   }
 }