mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 19:39:37 +02:00
move legacy code to separate branch
This commit is contained in:
parent
68a30c8ee6
commit
11b4c48c3a
3528 changed files with 14477 additions and 53258 deletions
|
@ -1,26 +0,0 @@
|
|||
Si consideri il monitor seguente che ritorna true appena il sistema viola il requisito monitorato:
|
||||
<pre>
|
||||
block Monitor
|
||||
|
||||
input Real x;
|
||||
output Boolean y;
|
||||
Boolean w;
|
||||
|
||||
initial equation
|
||||
|
||||
y = false;
|
||||
|
||||
equation
|
||||
|
||||
w = ((x < 1) or (x > 4)) and ((x < 15) or (x > 20));
|
||||
|
||||
algorithm
|
||||
|
||||
when edge(w) then
|
||||
y := true;
|
||||
end when;
|
||||
|
||||
end Monitor;
|
||||
</pre>
|
||||
|
||||
Quale delle seguenti affermazioni meglio descrive il requisito monitorato?
|
Loading…
Add table
Add a link
Reference in a new issue