mirror of
http://172.16.200.102/MOISE/Pattern-Instanciation-On-System-Engineering-Model.git
synced 2025-12-19 22:53:57 +01:00
11 lines
399 B
Plaintext
11 lines
399 B
Plaintext
|
|
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
|
||
|
|
}
|
||
|
|
}
|