The smallest set of chains that covers all the features (Dilworth's theorem): each chain goes from a feature to one it requires, and so on. There are as many chains as the width.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.
See also
Other hierarchy:
vp_atomic_sets(),
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_chains(band)
#> # A tibble: 8 × 3
#> chain position feature
#> <int> <int> <chr>
#> 1 1 1 ContactlessPayment
#> 2 1 2 TouchScreen
#> 3 1 3 BLEv42
#> 4 1 4 HeartRateSensor
#> 5 2 1 MovementFilter
#> 6 2 2 BLEv40
#> 7 2 3 Screen
#> 8 3 1 BT40