The atomic sets: groups of features that require each other, so that a product has all of them or none.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.
Value
A tibble with one row per feature of a set of two or more: set (a
number), feature, and representative (the first feature of the set,
which stands for it in the skeleton).
See also
Other hierarchy:
vp_chains(),
vp_common_dependants(),
vp_common_requirements(),
vp_depth(),
vp_downset(),
vp_false_optional(),
vp_feature_tree(),
vp_foundations(),
vp_implied_requires(),
vp_largest_free_set(),
vp_largest_unrelated_set(),
vp_leaves(),
vp_levels(),
vp_longest_chain(),
vp_longest_decision_chain(),
vp_redundant_candidates(),
vp_skeleton(),
vp_tree_agreement(),
vp_upset(),
vp_width()
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_atomic_sets(band)
#> # A tibble: 5 × 3
#> set feature representative
#> <int> <chr> <chr>
#> 1 1 Screen Screen
#> 2 1 OLED Screen
#> 3 1 CapacityButton Screen
#> 4 2 ContactlessPayment ContactlessPayment
#> 5 2 NFC ContactlessPayment