Add compute_weighted for (address, weight) pairs of either family, generic over MaadAddress like compute. Duplicate addresses sum their weights; non-finite or non-positive weights are rejected. Prefix validity and path pruning keep using distinct-address counts, while moments, D2 and D1 entropy use summed weights. Weighted results carry structure and dimensions only. The unweighted path keeps its integer power table and prefix-count layout, and its JSON output is byte-identical to the previous release on 20 real windows. Extend validate_maad.py with --weighted (ADDR,MEASURE CSV, oracle --csv --meas-col 1) and add a matching netflow-db maad --weighted flag; both combine with --ipv6.
flamboh committed on 9/26/2026, 11:17:31 PMparentca9b027
4 files changedLine totals unavailable