Mutually exclusive children of one parent: the alternative groups a feature model would declare
Source:R/conflicts.R
vp_candidate_groups.RdCandidate alternative groups: for each feature, its direct dependants (in the skeleton) that exclude one another. In a feature model this is the shape of an alternative group under a common parent, so the result suggests groups that a model rebuilt from the graphs could declare, whether or not the original model declares them.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- min_size
The smallest group (2 by default).
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_candidate_groups(band)
#> # A tibble: 2 × 4
#> parent group size feature
#> <chr> <int> <int> <chr>
#> 1 Screen 1 2 BLEv40
#> 2 Screen 1 2 BLEv42