Skip to contents

The size of every version of a history.

Usage

vp_history_sizes(history)

Arguments

history

A history: the versions of a model, from vp_read_history() or vp_history(), oldest first.

Value

A tibble with version, features, core, dead, requires, excludes, atleastone, skeleton, primitive_conflicts, depth, implicit_requires and implicit_excludes.

Examples

gens <- c("miband1", "miband2", "miband3", "miband4", "miband6")
history <- vp_history(
  vp_example(paste0(gens, "_realized.uvl")),
  versions = gens,
  or_graph = TRUE
)
vp_history_sizes(history)
#> # A tibble: 5 × 12
#>   version features  core  dead requires excludes atleastone skeleton
#>   <fct>      <int> <int> <int>    <int>    <int>      <int>    <int>
#> 1 miband1        0     8     0        0        0          0        0
#> 2 miband2        8     8     0        6        3          0        0
#> 3 miband3       11     8     0       21       10          3        6
#> 4 miband4       17     8     0       32       35          1       11
#> 5 miband6       21     8     0      108       72          1       12
#> # ℹ 4 more variables: primitive_conflicts <int>, depth <int>,
#> #   implicit_requires <dbl>, implicit_excludes <dbl>