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 \([n]\) be the set \(\{1,2,...,n\}\) (we call each element a vertex) and
a permutation of \([n]\) be \(\pi=[\pi(1),\pi(2),\cdots,\pi(n)]\), i.e.,
denote \(\pi(x)=y\) the fact that in a permutation, position \(x\) has vertex \(y\).
There are \(n!\) possible permutations of \([n]\).
[more]
Schroeder & Gibson (2007) Disk failures in the real world
Hard disk datasheet: MTTF of 1M to 1.5M hours, suggesting nominal failure rate
of 0.58 to 0.88%. But annual disk replacement rate observed >1%, usually 2-4%
and up to 13% in some system.
[more]