Commit bde45bae authored by Alexis Lebis's avatar Alexis Lebis

changed the decay function

parent 571917f4
...@@ -18,8 +18,9 @@ class DecayEngine ...@@ -18,8 +18,9 @@ class DecayEngine
return 0; return 0;
if(t == 0) if(t == 0)
return 0; return 0;
return (exp(t / 1.25) + 5)/100; // seems to be quitte similar to ebbinghaus : r = e^{-t/s} with s memory stability and t time
//return (double)t/10; //return (exp(t / 1.25) + 5)/100;
return (exp(t/2.125) + 10)/100;
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment