The most features that are pairwise free (all three graphs)
Source:R/hierarchy.R
vp_largest_free_set.RdThe largest set of features that are pairwise free: for every two of them, the four combinations (both, only one, only the other, neither) all occur in valid products. The width counts features none of which requires another; this set also excludes conflicts and at-least-one lines, so it is the number of truly independent decisions, as far as pairs go.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- exact_limit
Up to this number of variable features the search is exact; above it, a greedy search gives a large free set, and the largest one may be larger.
See also
Other hierarchy:
vp_atomic_sets(),
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_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_largest_free_set(band)
#> # A tibble: 2 × 1
#> feature
#> <chr>
#> 1 Screen
#> 2 HeartRateSensor