private String getFunctionFromTruthTable(boolean truthT[], int nbrVar) {
		String function = "";
		int k = 65;
		for (int i = 0; i < truthT.length; i++) {
			k = 65;
			if (truthT[i]) {
				for (int j = 0; j < nbrVar; j++) {
					if ((i % ((int) Math.pow(2, nbrVar - j))) < ((int) Math
							.pow(2, nbrVar - j - 1)))
						function += "!" + String.valueOf((char) k) + "*";
					else
						function += String.valueOf((char) k) + "*";
					k++;
				}
				function = function.substring(0, function.length() - 1);
				function += "+";
			}
		}
		function = function.substring(0, function.length() - 1);
		return function;
	}