Lanchid
6ff25321d4
First version of CSL parser
TODO:
- Correct path formulas
- Time bounded until
- Steady state operator without bounds
12 years ago
Lanchid
c7afcecf4a
Minor changes (mainly improving comments)
12 years ago
Lanchid
895c2b6aad
Convenient file parser for PRCTL, and correct reward formula parsing
(together with some necessary code for that)
12 years ago
Lanchid
0dcebc8ff0
Start of implementing improved file parser for formulas
12 years ago
dehnert
102f38322d
Fixed several bugs in several modules (bit vector, parser, etc.). Topological value iteration now works for the consensus protocol and the two dice example.
12 years ago
gereon
341dc50ab7
Added some better error output for basic parsers using errno
12 years ago
gereon
8dce5af515
fixed some warnings (comparison between signed/unsigned)
12 years ago
dehnert
c7f58ed5f5
Modified parsers such that the reward matrices are of the same size as the transition matrices.
12 years ago
PBerger
06d78967df
Fixed MDP Parser, removed parsing of STATES/TRANSITIONS, see #10
Refactored the Sparse Adapters, see #17
12 years ago
dehnert
69acbdef63
Fixed a few things in the parsers and implemented proper treatment of reward files by these parsers.
12 years ago
dehnert
0d7889932c
Fixed bug that gave wrong vector when parsing the state rewards.
12 years ago
dehnert
c0468675c7
Fixed parser to correctly ignore the file header.
12 years ago
PBerger
4fe071033b
Removed std:: from uint type specifier (illegal in VS2012)
Removed parsing of STATES and TRANSITIONS from Parsers
12 years ago
Lanchid
5b57728d7e
Merge branch master into PrctlParser
12 years ago
Lanchid
9c2d279c47
Reformulation of some documenation texts in PrctlParser (including some
fixed mistakes)
12 years ago
dehnert
0f9f5e67f6
A few minor fixes. Removed test for reward model.
12 years ago
dehnert
d4cf812c5e
Added until-model checking for MDPs. Implemented Prob1A algorithm. Added asynchronous leader example.
12 years ago
dehnert
8a9d766c73
Changed input format for non-deterministic models to PRISMs output format. Added min/max capability to probabilistic operator without bounds. Implemented Prob0E. Added a simple MDP model to example suite.
12 years ago
dehnert
8c248c05c5
Renamed NonDeterministic to Nondeterministic in all places. Fixed (hopefully) all occurrences of these names. Implemented Prob0A algorithm.
12 years ago
dehnert
19cbe13691
Prepared methods for performing reachability searches for non-deterministic models. Removed storage of backward transition relation: it is now (re-)created on demand in the model checkers.
12 years ago
dehnert
7d95a45633
Fixed bug in AbstractModelChecker: it does now correctly inherit from a lot more interface classes. NOTE: checking a formula on a model checker that does not support it failed silently. This should NOT be the case. Re-enabled DEBUG option for cmake. NOTE: why was this disabled anyway? Introduced another layer AbstractDeterministicModel and AbstractNonDeterministicModel in model hierarchy to allow for easily distinguishing these classes. Made necessary adaptions in (hopefully) all classes. Move the graph analyzer to utility folder.
12 years ago
Lanchid
fe6061e120
Documentation of parser class
12 years ago
Lanchid
afce8c9d12
Fixed some doxygen warnings
(Remaining warnings all appear because of undocumented function
parameters)
12 years ago
Lanchid
a3837ac76b
Changed WrongFileFormatException to WrongFormatException
Also, start of documentation of PrctlParser and PrctlFileParser
12 years ago
gereon
718608622f
added Ctmdp model, changed MdpParser to NonDetModelParser
12 years ago
Lanchid
f6196c7429
Some error messages on "unparsable" formulas
PrctlParser now throws an error in all cases a formula could not be
parsed successfully.
12 years ago
gereon
47cb1aa4d9
renamed BoundOperator to PathBoundOperator (StateBoundOperator is coming soon...)
renamed modelChecker to modelchecker
12 years ago
Lanchid
ab4174183b
Changed PrctlParser to directly parse the input string as formula, and
added PrctlFileParser to parse formulae from a file
12 years ago
Lanchid
e829e613c0
Changed grammar such that brackets are not necessary around each binary
operator, and changed some test cases to check that it works
12 years ago
Lanchid
3833c8af41
Some more test cases for PRCTL formula parsing
12 years ago
Lanchid
b66e1a34db
Some fixes in formulas
Additional test case for reward formulas
12 years ago
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
Lanchid
d23b3dbee5
First compiling version of PRCTL parser
12 years ago
gereon
df91728da0
first "kind of working" version.
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
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