Skip to contents

The kernel: the features grouped into classes that behave alike for the question "can these be together?". The class of the trouble-free features (they exclude nothing, by themselves or through what they bring) is marked. The same as the file __kernel_classes.txt of Strong4VM (vp_generate(kernel = TRUE)).

Usage

vp_kernel(model)

Arguments

model

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

Value

A tibble with class (a number), label (the first feature of the class), feature and trouble_free.

Examples

band <- vp_generate(vp_example("miband3.uvl"))
vp_kernel(band)
#> # A tibble: 11 × 4
#>    class label              feature            trouble_free
#>    <int> <chr>              <chr>              <lgl>       
#>  1     1 Screen             Screen             FALSE       
#>  2     1 Screen             OLED               FALSE       
#>  3     1 Screen             CapacityButton     FALSE       
#>  4     2 TouchScreen        TouchScreen        FALSE       
#>  5     3 ContactlessPayment ContactlessPayment FALSE       
#>  6     3 ContactlessPayment NFC                FALSE       
#>  7     4 MovementFilter     MovementFilter     FALSE       
#>  8     5 HeartRateSensor    HeartRateSensor    FALSE       
#>  9     6 BLEv40             BLEv40             FALSE       
#> 10     7 BLEv42             BLEv42             FALSE       
#> 11     8 BT40               BT40               FALSE