Project

General

Profile

« Previous | Next » 

Revision 8a489ebd

Added by Leszek Koltunski about 1 year ago

Skewb solver: full TB version works now.

View differences:

src/main/java/org/distorted/objectlib/tablebases/TablebaseHelpers.java
246 246
        break;
247 247
        }
248 248
    }
249

  
250
///////////////////////////////////////////////////////////////////////////////////////////////////
251

  
252
  public static void invertPermutation(int[] perm, int[] output)
253
    {
254
    int len = perm.length;
255
    for(int i=0; i<len; i++) output[perm[i]] = i;
256
    }
249 257
}

Also available in: Unified diff