Files
2018-12-06 14:47:05 +01:00

55 lines
2.3 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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>