Beispiel #1
0
 public void chooseDecomposition() {
   String[] wArray = getWs(w);
   int[] decomp = checkIfPossibility(wArray[0], wArray[1], 0);
   if (decomp != null) {
     setDecomposition(decomp);
     return;
   }
   decomp = checkIfPossibility(wArray[2], wArray[3], wArray[0].length() + wArray[1].length() + 2);
   if (decomp != null) {
     setDecomposition(decomp);
     return;
   }
   super.chooseDecomposition();
 }