The links between features of different teams: where teams interfere
Source:R/configuration.R
vp_team_links.RdThe links between teams: every link of the graphs whose two features belong to different teams. Each one is a place where a decision of one team forces, forbids or needs a decision of another. A measure: on the complete graphs it lists every pair of features of two teams that constrain each other; on the minimal form, roughly what was written between them.
Arguments
- model
A model, from
vp_generate()orvp_read(), in its complete or its minimal form.- teams
A tibble with
featureandteam, or a named character vector (feature = team).
Value
A tibble with from, from_team, link ("requires": from
requires to; "excludes"; "atleastone") , to and to_team.
Examples
band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
teams <- c(
Screen = "display",
TouchScreen = "display",
OLED = "display",
CapacityButton = "display",
ContactlessPayment = "payments",
NFC = "payments",
MovementFilter = "sensors",
HeartRateSensor = "sensors",
BLEv40 = "radio",
BLEv42 = "radio",
BT40 = "radio"
)
vp_team_links(band, teams)
#> # A tibble: 42 × 5
#> from from_team link to to_team
#> <chr> <chr> <chr> <chr> <chr>
#> 1 TouchScreen display requires HeartRateSensor sensors
#> 2 TouchScreen display requires BLEv42 radio
#> 3 ContactlessPayment payments requires Screen display
#> 4 ContactlessPayment payments requires TouchScreen display
#> 5 ContactlessPayment payments requires OLED display
#> 6 ContactlessPayment payments requires CapacityButton display
#> 7 ContactlessPayment payments requires HeartRateSensor sensors
#> 8 ContactlessPayment payments requires BLEv42 radio
#> 9 MovementFilter sensors requires Screen display
#> 10 MovementFilter sensors requires OLED display
#> # ℹ 32 more rows