Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

MultiMcwEstimate

function MultiMcwEstimate(const aMapped: TBytes; aK: Integer; out aC, aN, aMaxRun: Int64): Double;
6.3.7 / 6.3.8: the four predictors run on symbols mapped to 0..k-1 (MapSymbols), which is what the reference does. Mapping is essential for MultiMCW, whose rescan tie-break iterates the alphabet 0..k-1 and, among count-tied symbols with equal last-seen position, lets the LARGEST label win -- so the labelling has to match the reference's rank-remapped one, not raw byte values.