queelius/accumux: v1.3.0: Extended Accumulators and Distributed Computing

Read full text
Authors: Alex Towell
Cited by: 0

Abstract

Highlights This release significantly expands accumux with new accumulators for statistical analysis, thread-safe wrappers, and distributed computing patterns. New Accumulators | Accumulator | Description | |-------------|-------------| | ema_accumulator | Exponential moving average with configurable alpha, period, or half-life | | covariance_accumulator | Online covariance, correlation coefficient, and linear regression | | histogram_accumulator | Fixed-bin histogram with density, CDF, and quantile estimation | | p2_quantile_accumulator | P² algorithm for streaming quantile estimation (O(1) space) | | reservoir_quantile_accumulator | Reservoir sampling for exact quantiles on bounded sample | New Core Features Thread Safety (thread_safe.hpp) mutex_accumulator: Mutex-protected wrapper sharded_accumulator: Lock-striped sharding for reduced contention rw_accumulator: Read-write lock for concurrent reads Distributed Computing (distributed.hpp) map_reduce_accumulator: Parallel map-reduce over data ranges sliding_window_accumulator: Fixed-size sliding window statistics hierarchical_merge: Log-depth parallel merge Serialization (serialization.hpp) Binary serialization with to_bytes() / from_bytes() JSON export with to_json() Algebraic Abstractions (algebra.hpp) Monoid, Functor, Applicative concepts fmap() for transforming accumulator results fold() for reducing collections Variadic Composition (variadic_composition.hpp) parallel(): N-ary parallel composition sequential(): N-ary pipeline composition Single-Include Header #include includes all components Test Coverage 268 tests (up from 183 in v1.2.0) All tests passing Installation Header-only library. Copy include/accumux/ to your project or use CMake FetchContent. FetchContent_Declare( accumux GIT_REPOSITORY https://github.com/queelius/accumux.git GIT_TAG v1.3.0 ) FetchContent_MakeAvailable(accumux)

Fields of Study & Subjects

Advanced Database Systems and Queries Parallel Computing and Optimization Techniques Logic programming and type systems

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
5 February 2026