Skip to contents

A safe order for asking about the features, in rounds: round 1 asks about the features that need nothing, round 2 about those that need only features of round 1, and so on. Nobody is asked about a feature before everything it requires has been decided, and no order of this kind has fewer rounds (Mirsky's theorem).

Usage

vp_rounds(model)

Arguments

model

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

Value

A tibble with round and feature.

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_rounds(band)
#> # A tibble: 11 × 2
#>    round feature           
#>    <int> <chr>             
#>  1     1 Screen            
#>  2     1 OLED              
#>  3     1 CapacityButton    
#>  4     1 HeartRateSensor   
#>  5     1 BT40              
#>  6     2 BLEv40            
#>  7     2 BLEv42            
#>  8     3 TouchScreen       
#>  9     3 MovementFilter    
#> 10     4 ContactlessPayment
#> 11     4 NFC