Hello,
unfortunately i could not find a lot of literature on the exact semantics of feature cardinalities in UVL. As far as i understood, a single feature can be enabled multiple times. In this feature model example ..
features
Lunchbox
mandatory
Sandwich cardinality [0..3]
.. i would expect to have at least one sandwich in every configuration, as the feature is mandatory. But UVLS allows me to disable all sandwich at the same time in a valid configuration.
If i add a constraint Lunchbox => Sandwich it works as i would expect.
I am not sure if this is the intended behaviour but it seems unintuitive to me. What do you think about this?
Hello,
unfortunately i could not find a lot of literature on the exact semantics of feature cardinalities in UVL. As far as i understood, a single feature can be enabled multiple times. In this feature model example ..
.. i would expect to have at least one sandwich in every configuration, as the feature is mandatory. But UVLS allows me to disable all sandwich at the same time in a valid configuration.
If i add a constraint
Lunchbox => Sandwichit works as i would expect.I am not sure if this is the intended behaviour but it seems unintuitive to me. What do you think about this?