Correcting randomized model. Treat unknown stats as 100%, call parent
in WillEraseTimedOutPendingInterest (to get unsatisfaction rate stats).
Rebasing randomized model on top of FwStats (no need for dynamic
limits).
diff --git a/model/fw/stats-based-randomized-interest-accept.h b/model/fw/stats-based-randomized-interest-accept.h
index 84494d7..6092682 100644
--- a/model/fw/stats-based-randomized-interest-accept.h
+++ b/model/fw/stats-based-randomized-interest-accept.h
@@ -43,9 +43,11 @@
* (probability is shifted to allow small rate of acceptance (1% by default) of Interests from faces with 0 satisfaction ratio.
*/
class StatsBasedRandomizedInterestAccept :
- public DynamicLimits
+ public FwStats
{
public:
+ typedef FwStats super;
+
static TypeId
GetTypeId ();
@@ -76,8 +78,6 @@
private:
double m_threshold;
double m_graceAcceptProbability;
-
- typedef FwStats super;
};