Information Technology Reference
In-Depth Information
irrespective of the other features, Rule A must be intercepted
and Rule C must be executed instead. Nevertheless, it is
the responsibility of the product line architects (1) to identify
feature interactions, (2) to define transformation rules for
the different scenarios derived from feature interactions,
(3) to define execution conditions for such scenarios and (4) to
create and relate transformation rules to the defined execution
conditions. Our approach does not provide mechanisms to
validate that all possible feature interactions are taken into
account.
5.4.3. Bindings interaction
When conditions take into account binding models (see
Table 5.1),our approach allows product line architects to create
decision models where decisions consider bindings satisfying
onlyoneconstraint.Forinstance,rowoneinTable5.1expresses
that if there exists at least one binding B 1 =[E 1 ,F 1 ] that
satisfies the constraint C 1 =[M 1 ,F 1 ,A,D] in a binding model,
Rule A must be intercepted and Rule A' must be executed
instead using E 1 as parameter. In this case, we only consider
bindings satisfying one constraint, C 1 . To understand why we
cannotconsiderbindingsthatsatisfymorethanoneconstraint,
let us assume the following scenario. Suppose we have a
condition expressing that if there exists in a binding model at
least one binding B 1 =[E 1 ,F 1 ] that satisfies the constraint
C 1 =[M 1 ,F 1 ,A,D] and at least one binding B 2 =[E 2 ,F 2 ]
that satisfies the constraint C 2 =[M 2 ,F 2 ,A,D] ,then Rule B
must be intercepted and Rule B' must be executed instead
using E 1 and E 2 as parameter. Now,suppose we have a binding
model with two bindings that satisfy C 1 , B 1 =[E 1 ,F 1 ] and
B 1 =[E 1 ,F 1 ] ,and two bindings that satisfy C 2 , B 2 =[E 2 ,F 2 ]
and B 2 =[E 2 ,F 2 ] .Inthis case, it is not possible to know the
ordering of the parameters to execute the Rule B' . It means,
we are not able to know if we must invoke Rule B' (E 1 ,E 2 ) ,
Rule B' (E 1 ,E 2 ) ,or Rule B' (E 1 ,E 2 ) .Therefore, if for each
condition, we consider bindings satisfying several constraints,
Search WWH ::




Custom Search