What is the interpretation of mod2 in Algorithm SM-5?
(#14257) (Joseph Michael Galero, Jul 03, 2008, 20:46:40) Question: I am trying to understand Algorithm SM-5 (as described in http://www.supermemo.com/english/ol/sm5.htm). mod5 and mod2 are described to be values proposed for the modifier when q is equal to 5 and 2 respectively. In the code, mod5 is used when q > 4, consistent with the description. But, mod2 is used in the computation of the modifier in the else condition. Doesn’t that mean mod2 represents q’s 0 to 3 (with 4 left out because q=4 doesn’t change the OF)? Answer: Yes. mod2 is used for a range of values. The name and the description come from the fact that for Quality=2 you get modifier=mod2 (because modifier:=1-(1-mod2)/2*(4-quality)).