(String[] args)
| 313 | } |
| 314 | |
| 315 | public static void main(String[] args) { |
| 316 | String terms = "0^0|1&1^1|0|1"; |
| 317 | boolean result = true; |
| 318 | |
| 319 | bruteForce(terms, new HashMap<String, Boolean>(), result, new boolean[(terms.length() - 1) / 2]); |
| 320 | System.out.println(countR(terms, result, 0, terms.length() - 1)); |
| 321 | System.out.println(countDP(terms, result, 0, terms.length() - 1, new HashMap<String, Integer>())); |
| 322 | System.out.println(countDPEff(terms, result, 0, terms.length() - 1, new HashMap<String, Integer>())); |
| 323 | |
| 324 | } |
| 325 | |
| 326 | } |
nothing calls this directly
no test coverage detected