Full documentation of the current algorithm.