Knuth (2000) Dancing Link

A paper that is easy to read, summarizing the development of algorithm to set cover problem. The name “dancing link” is how Knuth called his implementation of depth-first-search. Wikipedia has an article about that, named Knuth’s Algorithm X. [more]

Using Intel Intrinsics

Intel intrinsics is available in many compliers (VC++, gcc, clang, icc) to allow SIMD programming using vector instruction sets from MMX to AVX2/3. [more]

Using C++17

Watched on YouTube the video of How to Adopt Modern C++17 into Your C++ Code and below are the notes. [more]

Permutation and cycles

Let be the set (we call each element a vertex) and a permutation of be , i.e., denote the fact that in a permutation, position has vertex . There are possible permutations of . [more]