nissy-core

The "engine" of nissy, including the H48 optimal solver.
git clone https://git.tronto.net/nissy-core
Download | Log | Files | Refs | README | LICENSE

coordinate_types_macros.h (322B)


      1 #define H48_ESIZE(h) ((COMB_12_4 * COMB_8_4) << (uint64_t)(h))
      2 
      3 #define COCLASS_MASK (UINT32_C(0xFFFF) << UINT32_C(16))
      4 #define COCLASS(x)   (((x) & COCLASS_MASK) >> UINT32_C(16))
      5 #define ECLASS(x)    COCLASS(x)
      6 #define TTREP_MASK   (UINT32_C(0xFF) << UINT32_C(8))
      7 #define TTREP(x)     (((x) & TTREP_MASK) >> UINT32_C(8))