dehnert
aba470960f
Intermediate commit to test code under linux.
12 years ago
dehnert
7873dbca74
Merge with master.
12 years ago
dehnert
ed43401c37
Reenable logging to prevent exception.
12 years ago
PBerger
7800132684
Added Mdp Class, Parser and support in the AutoParser.
Added Test for MdpParser
12 years ago
dehnert
c19418b871
Intermediate commit to switch workplace.
12 years ago
dehnert
d414b93bad
Added some functionality to IR. Introduced case distinction for boolean/integer assignments in updates. Started writing an IR adapter.
12 years ago
gereon
989c0a51ea
a few more style issues
12 years ago
gereon
7a1bf4d834
fixed some style issues reported by cpplint
12 years ago
dehnert
57274b3f09
Fixed missing newline and warning about nested comments.
12 years ago
gereon
78c0245d16
Added rowMapping to MDP transition parser.
the rowMapping is a bijective mapping (-> boost::bimap) between the row number and the (node,choice) pair.
12 years ago
gereon
4d709ed9c2
Implemented second pass in NonDeterministicTransitionParser
transition parser for MDPs should work now.
12 years ago
gereon
37ed70836a
adding format hints
12 years ago
dehnert
50f891b9f2
Removed some unnecessary boost stuff from IR expressions. Separated header and source file for all non-expression IR entities (expressions are still to come). Added comments for these classes.
12 years ago
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