mirror of
https://github.com/logos-storage/logos-storage-research.git
synced 2026-01-02 21:43:09 +00:00
* add block discovery simulator * add analysis document for simpler cases of block discovery
17 lines
329 B
R
17 lines
329 B
R
Stats <- R6Class(
|
|
'Stats',
|
|
public = list(
|
|
stats = NULL,
|
|
|
|
initialize = function() {
|
|
self$stats = list(list())
|
|
},
|
|
|
|
add_stat = function(...) {
|
|
self$stats <- c(self$stats, list(rlang::dots_list(...)))
|
|
self
|
|
},
|
|
|
|
as_tibble = function() purrr::map_df(self$stats, as_tibble)
|
|
)
|
|
) |