An aggregate is a value object used to define a group of buckets that is homogeneously aggregated in bucket-aggregate.
start-bucket is the first bucket of the aggregate (start-bucket ∈ ℕ).end-bucket is the last bucket concerned with that aggregate - end-bucket is excluded - (end-bucket ∈ ℕ or nil).step is the number of buckets gathered in that aggregate, step ∈ ℕ*Note that without knowing the other aggregate in the aggregates, the targeted bucket-aggregate are not fully defined.
An `aggregate` is a value object used to define a group of `bucket`s that is homogeneously aggregated in `bucket-aggregate`. * `start-bucket` is the first `bucket` of the aggregate (`start-bucket ∈ ℕ`). * `end-bucket` is the last `bucket` concerned with that aggregate - `end-bucket` is excluded - (`end-bucket ∈ ℕ` or `nil`). * `step` is the number of `bucket`s gathered in that `aggregate`, `step ∈ ℕ*` Note that without knowing the other `aggregate` in the `aggregates`, the targeted `bucket-aggregate` are not fully defined. 
(default {:automaton-optimization.time-based/keys [step] :as aggregate})Default step to 1.
Default `step` to `1`.
(set-end-bucket
{:automaton-optimization.time-based/keys [end-bucket] :as aggregate}
{:automaton-optimization.time-based/keys [start-bucket] :as _next-aggregate})For an aggregate, its end-bucket is :
start-bucket of the next-aggregate if set.For an `aggregate`, its `end-bucket` is : * not modified is already set, * defaulted to `start-bucket` of the `next-aggregate` if set.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |