diff options
author | juga0 <juga@riseup.net> | 2018-11-07 18:00:32 +0000 |
---|---|---|
committer | juga0 <juga@riseup.net> | 2018-11-07 18:00:32 +0000 |
commit | 45da870809210ba30330e5cffd876b83f443c76d (patch) | |
tree | 4329cd8f0742204ce13e1bda667c75e44624c059 /bandwidth-file-spec.txt | |
parent | 15d2c00685bc83deaa2422ab79771d2204e989c8 (diff) | |
download | torspec-45da870809210ba30330e5cffd876b83f443c76d.tar.gz torspec-45da870809210ba30330e5cffd876b83f443c76d.zip |
Correct n_filt by n in step 2
The number of relays does not change for a relay filtered bandwdith.
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r-- | bandwidth-file-spec.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt index 50e7294..87bdb7e 100644 --- a/bandwidth-file-spec.txt +++ b/bandwidth-file-spec.txt @@ -546,7 +546,7 @@ would be included in the next bandwidth authority's upcoming vote. 2. Calculate network averages: - calculate the filtered average by dividing the sum of all the relays' filtered bandwidth by the number of relays that have been - measured (`n_filt`), ie, calculate the mean average of the relays' filtered + measured (`n`), ie, calculate the mean average of the relays' filtered bandwidth. - calculate the stream average by dividing the sum of all the relays' filtered bandwidth by the number of relays that have been @@ -555,7 +555,7 @@ would be included in the next bandwidth authority's upcoming vote. In pseudocode: - bw_avg_filt_ = bw_filt_i / n_filt + bw_avg_filt_ = bw_filt_i / n bw_avg_strm = bw_i / n 3. Calculate ratios for each relay: |