The width of the model: the largest number of features none of which requires another (atomic sets count as one). By Dilworth's theorem it is also the smallest number of chains that cover all the features.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.
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_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()
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_width(band)
#> [1] 3