f endpoints) {
      slidingWindow.slide(t);
      maxEQT = Math.max(maxEQT, slidingWindow.getEQT);
    }
    return maxEQT;
  }

  return {
    getPostInteractiveTaskWindows,
    getNavStartTimestamps,
    getInteractiveTimestamps,
    expectedQueueingTime,
    maxExpectedQueueingTimeInSlidingWindow,
    weightedExpectedQueueingTime
  };
});
</script>
