apply a function to every alternative value of a Conditional data structure; may introduce new choices, results are merged into a new conditional
apply a function to every alternative value of a Conditional data structure; may introduce new choices, results are merged into a new conditional
flattens datastructure from a Conditional[T] to a single T with the provided merge function
flattens datastructure from a Conditional[T] to a single T with the provided merge function
flatten function
apply a function to every alternative value of a Conditional data structure
apply a function to every alternative value of a Conditional data structure
given a configuration, returns the corresponding value for that configuration
given a configuration, returns the corresponding value for that configuration
evaluates the conditions in choices for a given feature selection (all features not provided are assumed deselected) selectedFeatures provided as a list of names (how they would be created with createDefinedExternal)
FeatureExpr.evaluate
simplify rewrites choices, removing infeasible paths and possibly equal entries.
simplify rewrites choices, removing infeasible paths and possibly equal entries. this is an expensive operation reasoning about variability
a simplified data structure should not contain infeasible entries, but may still contain duplicate entries under different conditions.
Function toList returns a list with all conditional values of this data structure, each value with a corresponding condition
Function toList returns a list with all conditional values of this data structure, each value with a corresponding condition
apply a function to every alternative value of a Conditional data structure, propagating the current variability context in the process; may introduce new choices, results are merged into a new conditional
apply a function to every alternative value of a Conditional data structure, propagating the current variability context in the process; may introduce new choices, results are merged into a new conditional
apply a function to every alternative value of a Conditional data structure, propagating the current variability context in the process
apply a function to every alternative value of a Conditional data structure, propagating the current variability context in the process
returns the condition when predicate f is true
returns the condition when predicate f is true
(Since version 0.4.0) mapf is misnamed and should be replaced by vmap
(Since version 0.4.0) mapfr is misnamed and should be replaced by vflatMap
(Since version 0.4.0) mapr is misnamed and should be replaced by flatMap