public double evaluateAccuracy(evalMode howEval) throws Exception {
		double forall = 0;
		// the overall accuracy is the sum of accuracies for each possible number
		for(Integer number = 0; number<=9; number++) {
			if (verbose) System.out.println("\nGoing to guess:"+number.toString());
			double acc = 0;
			HashMap<String, Double> result = curBrain.ask(tellFileName(number), verbose);
			switch(howEval) {
				case simple: acc+=evaluateSimpleAccuracy(result, number.toString());break;
				case relative: acc+=evaluateRelativeAccuracy(result, number.toString());break;
				case firstmatch: acc+=evaluateFMAccuracy(result, number.toString());break;
			}
			if(verbose) System.out.print("\nacc for "+number.toString()+":"+Double.toString(acc));
			forall+=acc;
		}
		return forall;
	}