Пример #1
0
  /**
   * Evaluation of the complex over the example's set for see witch match all the class
   *
   * @param c Complex to evaluate
   * @param e Set of data
   */
  private void evaluarComplejo(Complejo c, ConjDatos e) {
    c.borraDistrib();
    for (int i = 0; i < e.size(); i++) {
      int cl = e.getDato(i).getClase();

      if (c.cubre(e.getDato(i))) {
        c.incrementaDistrib(cl);
      }
    }
    c.calculaLaplaciano();
  }