You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
399 B
11 lines
399 B
6 years ago
|
pattern N_Version_Programming(nb_in, nb_out, nb_comp) {
|
||
|
component NVerProg(in i[nb_in], out o[nb_out]) {
|
||
|
component dupl[nb_in](in i[1], out o[nb_comp])
|
||
|
component comp[nb_comp](in i[nb_in], out o[nb_out])
|
||
|
component vote[nb_out]( in i[nb_comp], out o)
|
||
|
i -{Transpose}-> dupl.i
|
||
|
dupl.o -{Transpose}-> comp.i
|
||
|
comp.o -{Transpose}-> vote.i
|
||
|
vote.o -{Transpose}-> o
|
||
|
}
|
||
|
}
|