Skip to contents

Cut features: single features that hold two parts of the model together. Removing one splits its part into several pieces. Computed on the minimal form (skeleton, primitive conflicts and, with or_graph = TRUE, primitive at-least-one lines), which is what was written, roughly; on the complete graphs almost nothing is a cut.

Usage

vp_cut_features(model)

Arguments

model

A model, from vp_generate() or vp_read(), in its complete or its minimal form.

Value

A tibble with feature, pieces (how many pieces its part falls into without it) and largest_piece.

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_cut_features(band)
#> # A tibble: 3 × 3
#>   feature     pieces largest_piece
#>   <chr>        <int>         <int>
#> 1 BLEv42           2             5
#> 2 TouchScreen      2             6
#> 3 Screen           2             6