Project

General

Profile

« Previous | Next » 

Revision 02888ed5

Added by Leszek Koltunski over 1 year ago

Progress with the Diamond Skewb solver.

View differences:

src/main/java/org/distorted/solvers/SolverSkewbDiamond.java
485 485
    {
486 486
    if( mSolver==null )
487 487
      {
488
      mSolver = ImplementedTablebasesList.createUnpacked(ObjectType.DIAM_2);
489
      if( mSolver!=null ) mSolver.createTablebase();
488
      mSolver = ImplementedTablebasesList.createPacked(res,ObjectType.DIAM_2);
490 489
      }
491 490

  
492 491
    return mSolver!=null ? mSolver.solution(index) : null;
492

  
493
     /*
494

  
495
    TablebasesSkewbDiamond tb = new TablebasesSkewbDiamond();
496
    int[] q = {0,0,3,3,3,0,  3,0,2,0,0,0,0,3};
497
    int i= tb.getIndex(q);
498
    android.util.Log.e("D", "AAAA index="+i);
499
    int[] a = tb.getQuats(i);
500
    android.util.Log.e("D", "AAAA quats="+a[0]+" "+a[1]+" "+a[2]+" "+a[3]+" "+a[4]+" "+a[5]+" "+
501
       a[6]+" "+a[7]+" "+a[8]+" "+a[9]+" "+a[10]+" "+a[11]+" "+a[12]+" "+a[13]);
502
    int j= tb.getIndex(a);
503
    android.util.Log.e("D", "AAAA index="+j);
504

  
505
    return null;
506

  
507
     */
493 508
    }
494 509
}  
495 510

  
src/main/res/values-de/strings.xml
160 160
    <string name="solver_pduo2_description">Ein perfekter, sofortiger Löser.\nAutor: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">Ein perfekter, sofortiger Löser.\nAutor: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">Ein perfekter, sofortiger Löser.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Noch nicht implementiert.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Noch nicht implementiert.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Ein perfekter, sofortiger Löser.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Ein perfekter, sofortiger Löser.\nAutor: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">Noch nicht implementiert.\nAutor: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d ms</string>
167 168
    <string name="lv_placeholder">Level %1$d</string>
src/main/res/values-es/strings.xml
160 160
    <string name="solver_pduo2_description">Un solucionador perfecto e instantáneo.\nAutor: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">Un solucionador perfecto e instantáneo.\nAutor: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">Un solucionador perfecto e instantáneo.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Aun no implementado.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Aun no implementado.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Un solucionador perfecto e instantáneo.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Un solucionador perfecto e instantáneo.\nAutor: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">Aun no implementado.\nAutor: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d ms</string>
167 168
    <string name="lv_placeholder">Nivel %1$d</string>
src/main/res/values-fr/strings.xml
160 160
    <string name="solver_pduo2_description">Un solveur parfait et instantané.\nAuteur: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">Un solveur parfait et instantané.\nAuteur: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">Un solveur parfait et instantané.\nAuteur: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Pas encore mis en œuvre.\nAuteur: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Pas encore mis en œuvre.\nAuteur: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Un solveur parfait et instantané.\nAuteur: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Un solveur parfait et instantané.\nAuteur: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">Pas encore mis en œuvre.\nAuteur: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d ms</string>
167 168
    <string name="lv_placeholder">Niveau %1$d</string>
src/main/res/values-ja/strings.xml
161 161
    <string name="solver_pduo2_description">完璧で瞬時のソルバー。\n著者: Leszek Koltunski.</string>
162 162
    <string name="solver_ivy_description">完璧で瞬時のソルバー。\n著者: Leszek Koltunski.</string>
163 163
    <string name="solver_cu232_description">完璧で瞬時のソルバー。\n著者: Leszek Koltunski.</string>
164
    <string name="solver_pyra3_description">まだ実装されていません。\n著者: Leszek Koltunski.</string>
165
    <string name="solver_diam2_description">まだ実装されていません。\n著者: Leszek Koltunski.</string>
164
    <string name="solver_pyra3_description">完璧で瞬時のソルバー。\n著者: Leszek Koltunski.</string>
165
    <string name="solver_diam2_description">完璧で瞬時のソルバー。\n著者: Leszek Koltunski.</string>
166
    <string name="solver_cube2_description">まだ実装されていません。\n著者: Leszek Koltunski.</string>
166 167

  
167 168
    <string name="ms_placeholder">%1$d ms</string>
168 169
    <string name="lv_placeholder">レベル %1$d</string>
src/main/res/values-ko/strings.xml
160 160
    <string name="solver_pduo2_description">완벽하고 즉각적인 솔버.\n작가: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">완벽하고 즉각적인 솔버.\n작가: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">완벽하고 즉각적인 솔버.\n작가: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">아직 구현되지 않음.\n작가: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">아직 구현되지 않음.\n작가: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">완벽하고 즉각적인 솔버.\n작가: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">완벽하고 즉각적인 솔버.\n작가: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">아직 구현되지 않음.\n작가: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d ms</string>
167 168
    <string name="lv_placeholder">레벨 %1$d</string>
src/main/res/values-pl/strings.xml
160 160
    <string name="solver_pduo2_description">Perfekcyjny, natychmiastowy rozwiązywacz.\nAutor: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">Perfekcyjny, natychmiastowy rozwiązywacz.\nAutor: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">Perfekcyjny, natychmiastowy rozwiązywacz.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Jeszcze nie zaimplementowany.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Jeszcze nie zaimplementowany.\nAutor: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Perfekcyjny, natychmiastowy rozwiązywacz.\nAutor: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Perfekcyjny, natychmiastowy rozwiązywacz.\nAutor: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">Jeszcze nie zaimplementowany.\nAutor: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d ms</string>
167 168
    <string name="lv_placeholder">Poziom %1$d</string>
src/main/res/values-ru/strings.xml
160 160
    <string name="solver_pduo2_description">Идеальный, мгновенный решатель.\nАвтор: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">Идеальный, мгновенный решатель.\nАвтор: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">Идеальный, мгновенный решатель.\nАвтор: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Еще не реализован.\nАвтор: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Еще не реализован.\nАвтор: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">Идеальный, мгновенный решатель.\nАвтор: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">Идеальный, мгновенный решатель.\nАвтор: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">Еще не реализован.\nАвтор: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d мс</string>
167 168
    <string name="lv_placeholder">Уровень %1$d</string>
src/main/res/values-zh-rCN/strings.xml
166 166
    <string name="solver_pduo2_description">完美的即时求解器。\n作者: Leszek Koltunski.</string>
167 167
    <string name="solver_ivy_description">完美的即时求解器。\n作者: Leszek Koltunski.</string>
168 168
    <string name="solver_cu232_description">完美的即时求解器。\n作者: Leszek Koltunski.</string>
169
    <string name="solver_pyra3_description">尚未实施。\n作者: Leszek Koltunski.</string>
170
    <string name="solver_diam2_description">尚未实施。\n作者: Leszek Koltunski.</string>
169
    <string name="solver_pyra3_description">完美的即时求解器。\n作者: Leszek Koltunski.</string>
170
    <string name="solver_diam2_description">完美的即时求解器。\n作者: Leszek Koltunski.</string>
171
    <string name="solver_cube2_description">尚未实施。\n作者: Leszek Koltunski.</string>
171 172

  
172 173
    <string name="ms_placeholder">%1$d毫秒</string>
173 174
    <string name="lv_placeholder">%1$d级</string>
src/main/res/values-zh-rTW/strings.xml
160 160
    <string name="solver_pduo2_description">完美的即時求解器。\n作者: Leszek Koltunski.</string>
161 161
    <string name="solver_ivy_description">完美的即時求解器。\n作者: Leszek Koltunski.</string>
162 162
    <string name="solver_cu232_description">完美的即時求解器。\n作者: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">尚未實現。\n作者: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">尚未實現。\n作者: Leszek Koltunski.</string>
163
    <string name="solver_pyra3_description">完美的即時求解器。\n作者: Leszek Koltunski.</string>
164
    <string name="solver_diam2_description">完美的即時求解器。\n作者: Leszek Koltunski.</string>
165
    <string name="solver_cube2_description">尚未實現。\n作者: Leszek Koltunski.</string>
165 166

  
166 167
    <string name="ms_placeholder">%1$d毫秒</string>
167 168
    <string name="lv_placeholder">%1$d級</string>
src/main/res/values/strings.xml
187 187
    <string name="solver_pduo2_description">A perfect, instantaneous solver.\nAuthor: Leszek Koltunski.</string>
188 188
    <string name="solver_ivy_description">A perfect, instantaneous solver.\nAuthor: Leszek Koltunski.</string>
189 189
    <string name="solver_cu232_description">A perfect, instantaneous solver.\nAuthor: Leszek Koltunski.</string>
190
    <string name="solver_pyra3_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>
191
    <string name="solver_diam2_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>
190
    <string name="solver_pyra3_description">A perfect, instantaneous solver.\nAuthor: Leszek Koltunski.</string>
191
    <string name="solver_diam2_description">A perfect, instantaneous solver.\nAuthor: Leszek Koltunski.</string>
192
    <string name="solver_cube2_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>
192 193

  
193 194
    <string name="ns_placeholder" translatable="false">+%1$d</string>
194 195
    <string name="sq_placeholder" translatable="false">%1$2d.</string>

Also available in: Unified diff