Package ai.badmonkey.agentspaces.capabilities.aggregate
package ai.badmonkey.agentspaces.capabilities.aggregate
The aspace:cap/aggregate capability: push-sum gossip aggregation for quorum sensing (spec §8). Stability: API.
-
ClassDescriptionThe
aspace:cap/aggregatecapability (spec §8): gossip aggregation over the group's capability pipes.A settled estimate handed to anPushSumAggregate.onEstimate(Predicate, PushSumAggregate.Settle, Consumer)listener (ISSUE-OnEstimate).The aggregation operators (spec §8:sum|avg|count|min|max|quantile).ThePushSumAggregate.Mode.QUANTILEdeclaration: which quantile to read and the histogram it is read from.When an estimate counts as settled: unchanged, within a relative tolerance of the larger of one and the last value, for a number of consecutive ticks.