public static double multipleNetworkTrainingRuns(int runs, int cycles, int numTraining) {
    { Vector errors = Vector.newVector(runs);
      double sum = 0.0;

      { int i = Stella.NULL_INTEGER;
        int iter000 = 0;
        int upperBound000 = runs - 1;

        for (;iter000 <= upperBound000; iter000 = iter000 + 1) {
          i = iter000;
          Logic.clearAllNeuralNetworks();
          Logic.trainNeuralNetwork(cycles, numTraining);
          (errors.theArray)[i] = (FloatWrapper.wrapFloat(Logic.testNeuralNetwork()));
          sum = sum + ((FloatWrapper)((errors.theArray)[i])).wrapperValue;
          System.out.println("** Run " + i + ": " + ((FloatWrapper)((errors.theArray)[i])));
        }
      }
      {
        System.out.println();
        System.out.println("*** Report");
      }
;
      { int i = Stella.NULL_INTEGER;
        int iter001 = 0;
        int upperBound001 = runs - 1;

        for (;iter001 <= upperBound001; iter001 = iter001 + 1) {
          i = iter001;
          System.out.println("** Run " + i + ": " + ((FloatWrapper)((errors.theArray)[i])));
        }
      }
      return (sum / runs);
    }
  }