Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRewardFactor ¶
CalculateRewardFactor returns the reward factor calculated using a logarmithic model based on miss counters. missCount is the current miss count, m is the maximum possible miss counts, and s is the smallest miss count in the period. If the logarimthic function returns NaN or Inf the Reward Factor returned will be 0. rewardFactor = 1 - logₘ₋ₛ₊₁(missCount - s + 1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.