gereon
b8f1ddd5da
Implemented first run for NonDeterministicTransitionParser
the first run checks the syntax and calculates
* overall number of nondeterministic choices, i.e. number of rows
* overall number of transitions, i.e. nonzero elements
* maximum node id, i.e. number of columns
12 years ago
gereon
82ff9f3891
adding initializer for variable
12 years ago
gereon
867d477afc
removing pointless comment
12 years ago
gereon
ea84f91cf3
made a run of cpplint and fixed some of the warnings...
12 years ago
gereon
5668b95d9b
added missing include.
12 years ago
gereon
a8517c7246
fixed some documentation and changed position of const in Settings class.
12 years ago
gereon
650a0f0a27
added documentation for AbstractModel and operator<< for ModelType
12 years ago
gereon
a695208d0e
implemented check for deadlocks in parser
Add new option --fix-deadlocks.
Check for deadlocks in nodes.
If option is not set, throw an error if a deadlock is found.
If option is set, give a warning and add self-loop.
Some minor cleanups in the parser.
12 years ago
gereon
4e71cab4a7
using AutoParser in storm.cpp
12 years ago
gereon
cdec5d44c9
adding format hint to tiny examples
12 years ago
gereon
4dbbb1486b
first working version of AutoParser
12 years ago
dehnert
b4ea27d7c4
Added checks to parser: Now only local variables may be written in updates and each variable at most once.
12 years ago
dehnert
a82c8b3153
Moved implementation of PrismParser completely to source file. Fixed some minor things in IR classes.
12 years ago
gereon
4dc780ef77
modified AutoParser to reflect changes in the model type system.
12 years ago
gereon
b4862360ba
made Ctmc and Dtmc subclasses of AbstractModel
implement getType()
fixed typo
12 years ago
gereon
004633b79a
fixed brackets in BaseException
12 years ago
gereon
006c9e6b88
changed model base class
AbstractModel is the new base class for every model.
If requires all models to implement ``ModelType getType()``
And implements ``as<ModelClass>()`` performing a dynamic cast on a shared pointer, assuming that we will always use Models within shared pointers.
12 years ago
dehnert
4b7c6a8941
Splitted PrismParser class into header and implementation file. Commented both files properly. Cleaned interface of PrismParser.
12 years ago
dehnert
f52201466c
Parsing labels works now.
12 years ago
dehnert
6a33f84512
Another step towards PRISM model parsing: small models get recognized correctly.
12 years ago
dehnert
a44da7d50a
Commit to switch workplace.
12 years ago
gereon
261750df9b
removing two warnings from cpplint
12 years ago
dehnert
3deca3f2d3
Intermediate Commit to switch workplace.
12 years ago
gereon
bad870f085
integrated cpplint
Created a new make target (style) in CMakeLists.
This target will give all .h and .cpp files within src/ to cpplint.
Fixed most warnings in DeterministicTransitionParser to test what is found.
12 years ago
dehnert
f7194a416d
Cleaned IR classes a bit and made attributes private. Changed grammar rules accordingly.
12 years ago
gereon
1776f8ce12
first steps towards an AutoParser
renamed AutoTransitionParser to AutoParser
created new base class for all models
12 years ago
gereon
946128cae1
Merge branch 'master' of https://sselab.de/lab9/private/git/MRMC
Conflicts:
src/parser/DeterministicSparseTransitionParser.cpp
12 years ago
dehnert
b381321653
Added more classes to IR. Extended PRISM-format parser.
12 years ago
PBerger
557461a77d
Renamed SquareSparseMatrix to SparseMatrix
12 years ago
PBerger
36e2f5f15b
Refactored SparseMatrix, made references const.
Refactored Adapter to GMM to make use of new internal format
12 years ago
PBerger
b89db58fbb
Made changes to all files that use the Sparse Matrix, as the diagonal entries are now included in the main storage. This refs #34
12 years ago
gereon
99c5f4799e
checking file format hint
12 years ago
gereon
a6dcb236e2
implementing check for filename extension
12 years ago
dehnert
a4b7b27829
Added parsing support for expressions. Now working on parsing probabilistic programs.
12 years ago
dehnert
a7ab5bb309
More fun with Spirit.
12 years ago
dehnert
92efc9c345
Taming Boost::Spirit...
12 years ago
gereon
6e2acc5159
add checked_strtod and use it in all parsers
12 years ago
dehnert
11b16f5dde
Made bound/no-bound operators more consistent to reduce similar code. Changed bound operators to have a single bound and a comparison operator instead of an interval.
12 years ago
dehnert
86c7ae3f5c
Added BoundedEventually as a convenience operator.
Included check for illegal atomic propositions.
Added exception class to be raised in case a property is invalid for the respective model.
12 years ago
dehnert
1561843cee
Minor bugfix in sparse matrix method to compute pointwise product.
Remove unnecessary small example files.
Add reward files for synchronous leader example.
Added test procedures to main (commented out by default) to check all of the three main models (crowds, die, synchronous leader).
12 years ago
dehnert
58cf8118fe
Initial version of reward model checking for DTMCs. Added two convenience operators to PCTL (Eventually and Globally) and added missing reward formulas.
12 years ago
PBerger
f983317b54
Renaming MRMC to STORM, see #42
Markt und Straßen stehn verlassen,
still erleuchtet jedes Haus,
Sinnend' geh ich durch die Gassen,
alles sieht so festlich aus.
An den Fenstern haben Frauen
buntes Spielzeug fromm geschmückt,
Tausend Kindlein stehn und schauen,
sind so wunderstill beglückt.
Und ich wandre aus den Mauern
Bis hinaus ins freie Feld,
Hehres Glänzen, heil'ges Schauern!
Wie so weit und still die Welt!
Sterne hoch die Kreise schlingen,
Aus des Schnees Einsamkeit
Steigt's wie wunderbares Singen-
O du gnadenreiche Zeit!
Merry Christmas commit ;)
12 years ago
dehnert
a9b6e92306
Added adapters folder and GmmxxAdapter that is a friend class of the matrix class and can convert the sparse matrix to the gmm++ format. Removed this conversion from the matrix class.
12 years ago
gereon
364d8e4861
added Matrix::getRowSum()
... and using it in the DTMC check
12 years ago
gereon
9775f7ae7e
Added CTMC model, doing c&p from dtmc.
I have no idea, if this is what we actually want... :-)
12 years ago
gereon
4cc86cc7e3
fixing bracket...
12 years ago
gereon
0f8c598529
making inheritance of Parsers public (for AutoParser)
12 years ago
gereon
ab30a95f74
first version of AutoTransitionParser.
While the actual recognition is not yet implemented, the evaluation logic for which parser to use already works.
12 years ago
gereon
614fe3df9f
removing unused variable
12 years ago
gereon
34a4b91f49
Merge branch 'master' of https://sselab.de/lab9/private/git/MRMC
12 years ago