Lanchid
02528f2bd9
Test cases for Prctl parser
12 years ago
gereon
86965ff12a
removed obsolete typedef
12 years ago
gereon
54565ddd55
changed rowMapping to vector<int>
12 years ago
gereon
583ebf62bd
made rowMapping from NDSTParser available in MDP model class
12 years ago
gereon
1d1f9da315
made rowMapping from NDSTParser available in MDP model class
12 years ago
Lanchid
7e87f35e95
First test case for prctl parser, and some necessary modifications for
the code
12 years ago
PBerger
a598d3751c
The DeterministicSparseTransitionParser.cpp was still broken, rewrote it in a simpler and more convenient way.
All Deterministic Tests complete now.
12 years ago
dehnert
6fb56748a6
Bugfix for correctly counting the number of values the parser inserts.
12 years ago
dehnert
726569d5f1
Fixed bug in parser that inserted 0-entries on the diagonal at the wrong places. Enabled link-time-optimizations for Release-Build when using clang. Fixed bug in base exception: what() returned a pointer to a char array belonging to a local variable, which got deallocated and thus invalidates the char array content.
12 years ago
PBerger
9a9cd968d9
Added a test to verify the RowSum Function in the Sparse Matrix.
Added an option to the settings for auto-fixing missing no-selfloop states. Kind of a super-option above fix-nodeadlocks, perhaps some Cleanup later on.
Modified tra Files to comply with formats...
12 years ago
dehnert
1edd306032
Silenced warning of clang: Changed NULL to nullptr as this should be used in C++11.
12 years ago
dehnert
c4af78b859
Added singleton utility class for CUDD-based things. Added some first methods to expression classes to generate ADDs, but this should be moved to a separate class implementing the expression visitor pattern.
12 years ago
Lanchid
d23b3dbee5
First compiling version of PRCTL parser
12 years ago
gereon
df91728da0
first "kind of working" version.
12 years ago
dehnert
a17c99902b
The PRISM parser can now parse DTMC models that do not use synchronization.
12 years ago
gereon
4fd1d672ef
fixed valgrind errors
creating new shared_ptr instances from a raw pointer (i.e. shared_ptr<>(this) or alike) destroys the internal reference counting.
To make this work, one can use std::enable_shared_from_this(), which solves our problem here.
12 years ago
gereon
c2669ccec4
"Creating" DeterministicModelParser
this new parser is actually the old DtmcParser.
It can now also create Ctmc models...
12 years ago
gereon
facec2b040
experimented with custom style checker, fixed a few minor issues
12 years ago
gereon
062960b94c
Some cleanups, removing memleaks
12 years ago
dehnert
152923e14b
Reverted the PrismParser in the sense that it now again builds a full string of the input first and then parses it, because apparently the adapter iterators of Boost give an awful output under valgrind.
12 years ago
gereon
0992df5c66
fixing test for deadlock nodes in parsers
12 years ago
PBerger
7800132684
Added Mdp Class, Parser and support in the AutoParser.
Added Test for MdpParser
12 years ago
Lanchid
1b0449addb
Prctl parser... not yet working
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
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
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
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
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
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
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
dehnert
b381321653
Added more classes to IR. Extended PRISM-format parser.
12 years ago
PBerger
557461a77d
Renamed SquareSparseMatrix to SparseMatrix
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