Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CoPaR
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Software
CoPaR
Commits
0033c4c0
Commit
0033c4c0
authored
Jun 14, 2019
by
Hans-Peter Deifel
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prism-converter: Add README
parent
41bb81a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
src/prism-converter/README.md
src/prism-converter/README.md
+37
-0
No files found.
src/prism-converter/README.md
0 → 100644
View file @
0033c4c0
# Prism converter
This directory containers a helper program called
`prism-converter`
that
converts transition matrices of PRISM
[
1
]
models into coalgebra specifications.
## Building
```
sh
stack build
--flag
copar:benchmark-generators
```
## Generating transition matrices
You can generate those transition matrices with PRISM itself by using:
```
sh
prism
-exporttrans
TRA_FILE
-exportstates
STA_FILE
-const
CONST_ASSIGNMENTS
```
Given the constant assignments
`CONST_ASSIGNMENTS`
(see the PRISM documentation
on syntax and semantics of those), thsi output a transition matrix in
`TRA_FILE`
and a states file in
`STA_FILE`
. Please see
[
2
]
for additional details.
## Converting them into coalgebra specs
The resulting files can then be converted into a coalgebra specification using
```
sh
stack
exec
prism-converter
--
--model-type
TYPE
--states-file
STA_FILE TRA_FILE
```
where type is one of dtmc, ctmc or mdp.
See
`stack exec prism-converter -- --help`
for details.
[
1
]:
https://www.prismmodelchecker.org
[
2
]:
https://www.prismmodelchecker.org/manual/RunningPRISM/ExportingTheModel
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment