public void simplifyNumericFunction(String[] sets0, String[] sets1,
			int nbrVar, String varOrder) {

		boolean table[] = new boolean[(int) Math.pow(2, nbrVar)];
		if (sets1 == null && sets0 == null)
			JOptionPane.showMessageDialog(null,
					Tools.getLocalizedString("ERROR_NUMFORM"),
					Tools.getLocalizedString("ERROR"),
					JOptionPane.ERROR_MESSAGE);
		else {
			if (sets1 != null) {
				for (int j = 0; j < table.length; j++)
					table[j] = false;

				for (int i = 0; i < sets1.length; i++) {
					table[Integer.valueOf(sets1[i])] = true;
				}
			} else if (sets0 != null) {
				for (int j = 0; j < table.length; j++)
					table[j] = false;

				for (int i = 0; i < sets0.length; i++) {
					table[Integer.valueOf(sets0[i])] = true;
				}
			}
			solveFromTruthTable(table, nbrVar, varOrder);
		}

	}