This project is a demonstrator of pattern instanciation on system engineering model (pseim), made by the MOISE project. It contains the metamodel of the pseim, graphical and textual editors, formal verification models (event-B) and examples.
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

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
}
}