/*
- * $Id: store_heap_replacement.cc,v 1.15 2007/04/28 22:26:51 hno Exp $
+ * $Id$
*
* DEBUG: section 20 Storage Manager Heap-based replacement
* AUTHOR: John Dilley
#include "MemObject.h"
#include "SquidTime.h"
+#if HAVE_MATH_H
+#include <math.h>
+#endif
+
/*
* Key generation function to implement the LFU-DA policy (Least
* Frequently Used with Dynamic Aging). Similar to classical LFU
return (double) key;
}
-
/*
* Key generation function to implement the GDS-Frequency policy.
* Similar to Greedy Dual-Size Hits policy, but adds aging of