Example #1
0
 public void saveGA(int i) {
   myNN.storeGA();
 }
Example #2
0
 public void saveNN() {
   myNN.storeGenome();
 }
Example #3
0
 public double getNNValue(ArrayList<Double> input) {
   Double[] temp = new Double[input.size()];
   return myNN.getValues(input.toArray(temp));
 }
Example #4
0
 public void loadSavedNN() {
   myNN = myNN.loadGenome();
 }
Example #5
0
 public void trainNN(ArrayList<ArrayList<Double>> input, ArrayList<ArrayList<Double>> output) {
   myNN.trainNetwork(input, output);
 }