I have thrown together something that will at least help evaluate and fine-tune the thoughts on adaptive caching. I adapted the looped pseudo code (~ on page 5 if you printed it out).
You will find that the actual value of the cost plays a *huge* difference in how this thing works. In fact it plays so much of a difference, we really need to define what an acceptable range is.
What is the overall range for the cost function?
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
cacheTest.zip
Description: Zip compressed data
