Unverified Commit 664742c4 authored by Georg Koppen's avatar Georg Koppen
Browse files

fix: doc: Clarify Torflow aggregation

Closes #40082.
parent 37d5c0ab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ In Torflow's `aggregate.py`_ code::

So::

  n.ratio = max(sbw_ratio, n.fbw_ratio)
  n.ratio = max(n.sbw_ratio, n.fbw_ratio)

This is also expressed in pseudocode in the `bandwidth file spec`_, section B.4
step 2 and 3.
@@ -329,7 +329,7 @@ So::

    n.new_bw = (
        min(bandwidth-avg, bandwidth-observed) or 1 \
        * max(bwstrm_i / bwstrm, bwfilt_i / bwfilt_i)
        * max(bwstrm_i / bwstrm, bwfilt_i / bwfilt)
    )

This is also expressed in pseudocode in the `bandwidth file spec`_, section B.4