summaryrefslogtreecommitdiff
path: root/Assignment2
diff options
context:
space:
mode:
authorCamil Staps2018-07-06 14:09:20 +0200
committerCamil Staps2018-07-06 14:09:20 +0200
commit1333a1f1189fcc7477e30d2e52d2616b49843fad (patch)
treefc5a132fc7685e230c1d8e05a5257f3bbfb3f38c /Assignment2
parentPut everything in docker (diff)
parentMerge branch 'master' of gitlab.science.ru.nl:eveen/Model-Checking (diff)
Merge branch 'master' of gitlab.science.ru.nl:eveen/Model-Checking
Diffstat (limited to 'Assignment2')
-rw-r--r--Assignment2/report/implementation.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Assignment2/report/implementation.tex b/Assignment2/report/implementation.tex
index 903025a..1137163 100644
--- a/Assignment2/report/implementation.tex
+++ b/Assignment2/report/implementation.tex
@@ -31,13 +31,15 @@ The Model Repair procedure for a \PRISM\ program and a property $\phi$ consists
the algorithm always terminates, although it may not be the most efficient implementation.}
\item
We generate properties to ensure that the repaired model will still be a valid model.
- For all states $s$ in $\mathcal M$, we ensure that $\sum_{s'\in\textsl{succ}(s)}P(s,s') + v_{s,s'}=1$ for totality.
+ For all states $s$ in $\mathcal M$, we ensure that totality holds, i.e. $\sum_{s'\in\textsl{succ}(s)}P(s,s') + v_{s,s'}=1$.
Also, for all transitions $s\to s'$ in $\mathcal M$, we ensure that $P(s,s') + v_{s,s'} \in [0,1]$.
Additionally, we generate a property to ensure that the repaired model satisfies $\phi$.
\item
We generate a minimalisation goal depending on the cost function used.
\item
- The properties and the minimalisation goal are passed to Z3 which satisfies the properties.
+ The properties and the minimalisation goal are passed to Z3 which satisfies the properties and produces a model.
+ \item
+ The generated model is the returned to the user.
\end{enumerate}
\begin{figure}