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.

55 lines
2.3 KiB

6 years ago
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1 id="tests-and-instances-notes">Tests and instances notes</h1>
<p>This folder contains some model instances conforms to the seim and pseim metamodels.</p>
<h2 id="models-details">Models details</h2>
<h3 id="archiimplemocaml-seimx">ArchiImplemOcaml.seimx</h3>
<p>This model contains the structure of the OCaml code provided as an implementation of the pattern instantiation and application Event-B model.</p>
<h3 id="test_moong_1">Test
<em>MoonG</em>1
</h3>
<h4 id="first-test">First test</h4>
<p>The pattern files for this test is N-Version Programing.pseimx. It represents the "N Version Programming" pattern provided in [1].</p>
<p>Parameters of the pattern: </p>
<ul>
<li>comp: a component that is replicated</li>
<li>nb_in: the number of input ports of the component that is replicated</li>
<li>nb_out: the number of output ports of the component that is replicated</li>
<li>nb_comp: the number of times the component is replicated</li>
</ul>
<h5 id="first-instantiation">First instantiation</h5>
<p>Patter instanciation inputs:</p>
<ul>
<li>The source model (source.seimx)</li>
<li>The pattern instantiation parameters values: comp = System.Sub1; nb_in = 2; nb_out = 1; nb_comp = 3</li>
</ul>
<p>Pattern elaboration: </p>
<ul>
<li>unfold.seimx </li>
</ul>
<p>Pattern application:</p>
<ul>
<li>result2.seimx</li>
</ul>
<h5 id="second-instantiation">Second instantiation</h5>
<p>Patter instanciation inputs:</p>
<ul>
<li>The source model (source2.seimx)</li>
<li>The pattern instantiation parameters values: comp = System.Sub1; nb_in = 2; nb_out = 2; nb_comp = 3</li>
</ul>
<p>Pattern elaboration: </p>
<ul>
<li>unfold_1.seimx </li>
</ul>
<p>Pattern application:</p>
<ul>
<li>result.seimx</li>
</ul>
<h2 id="references">References</h2>
<p>[1] C. Preschern, N. Kajtazovic, et C. Kreiner, « Building a Safety Architecture Pattern System », in Proceedings of the 18th European Conference on Pattern Languages of Program, New York, NY, USA, 2015</p>
</body>
</html>