Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Müller
NIWO
Commits
6673eed6
Commit
6673eed6
authored
Apr 12, 2017
by
Christian Müller
Browse files
extend README
parent
cd87a6ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6673eed6
...
...
@@ -9,20 +9,21 @@ You can find implicits helping with that in ``de.tum.workflows.Implicits``.
To get sbt to build the project properly, you have to add the Supersafe Compiler plugin by adding
``resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"``
to
``~/.sbt/0.13/global.sbt``
(You can generate an eclipse project file for use with Scala IDE by running
``sbt eclipse``
after installing the sbt plugin)
(You can generate an eclipse project file for use with Scala IDE by running
``sbt eclipse``
after installing the sbt
eclipse
plugin)
## Testing
An example can be found in
``de.tum.workflows.Main``
and many tests in
``src/test/scala``
It can be run using
``sbt run``
and logs
the
r
es
ulting LTL formulas for the example workflows to results/.
``de.tum.workflows.Main``
will use any
``.spec``
files in
``/examples/``
and logs the resulting LTL formulas for the example workflows to results/.
To get a feel for the code, see
the
t
es
ts in
``src/test/scala``
### Aalta
The resulting LTL formulas can be tested for satisfiability.
We recommend to use Aalta for this. It has been bundled with this software and resides in
``aalta``
.
It can be built by issuing
``make``
in
``aalta/Aalta_v2.0/``
. To do this,
``bison``
and
``flex``
must be installed.
However, there should be a ready-built version at
``aalta/Aalta_v2.0/aalta``
.
Call it by using (for example)
``time aalta/Aalta_v2.0/aalta < results/
prevexampleNoOracle
_stubborn_
3agents
.ltl``
``time aalta/Aalta_v2.0/aalta < results/
easychair3
_stubborn_
size4
.ltl``
### Spot
Generating an accepting run can also be done by locally installing Spot (https://spot.lrde.epita.fr),
...
...
Write
Preview
Supports
Markdown
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