Groups of any features that all exclude each other (at most one per product)
Source:R/conflicts.R
vp_alternative_groups.RdGroups of features that all exclude one another (cliques of the excludes graph): at most one of each group can be in a product. They are groups of alternatives, whether or not the model declares them as such.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- min_size
The smallest group to report (3 by default; every conflict is a group of 2).
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_alternative_groups(band)
#> # A tibble: 24 × 3
#> group size feature
#> <int> <int> <chr>
#> 1 1 3 BLEv40
#> 2 1 3 BT40
#> 3 1 3 TouchScreen
#> 4 2 3 BLEv40
#> 5 2 3 BT40
#> 6 2 3 ContactlessPayment
#> 7 3 3 BLEv40
#> 8 3 3 BT40
#> 9 3 3 BLEv42
#> 10 4 3 BLEv40
#> # ℹ 14 more rows