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
7ceb1ed9b2
Added logging for errors in labeling class. Corrected wrong labeling of MDP in examples. Extended test checking for first MDP example in main.
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
73ab4a78a9
Renamed methods get*Pointer in sparse matrix class, because they do not return a pointer. Added initial versions of forward/backward graph transition creation for nondeterministic models.
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
84c159feba
Moved model information output to super class. Moved methods to determine data structure size to superclass(es). Added missing getType methods for some models.
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
dehnert
c02271a36a
Fixed typo in CTMC class. Moved GraphAnalyzer to utility.
12 years ago
Lanchid
afce8c9d12
Fixed some doxygen warnings
(Remaining warnings all appear because of undocumented function
parameters)
12 years ago
gereon
718608622f
added Ctmdp model, changed MdpParser to NonDetModelParser
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
d23b3dbee5
First compiling version of PRCTL parser
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
facec2b040
experimented with custom style checker, fixed a few minor issues
12 years ago
gereon
b13f1ff37f
Adding check "transitionRewards submatrix of transitions"
12 years ago
gereon
3dc82759af
some error output, if Dtmc matrix is invalid
12 years ago
PBerger
7800132684
Added Mdp Class, Parser and support in the AutoParser.
Added Test for MdpParser
12 years ago
dehnert
57274b3f09
Fixed missing newline and warning about nested comments.
12 years ago
gereon
ea84f91cf3
made a run of cpplint and fixed some of the warnings...
12 years ago
gereon
650a0f0a27
added documentation for AbstractModel and operator<< for ModelType
12 years ago
gereon
b4862360ba
made Ctmc and Dtmc subclasses of AbstractModel
implement getType()
fixed typo
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
gereon
1776f8ce12
first steps towards an AutoParser
renamed AutoTransitionParser to AutoParser
created new base class for all models
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
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
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
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
dehnert
b26a731383
Added reward parsing:
* Transition-based rewards are parsed using the existing (Deterministic)SparseTransitionsParser.
* State-based rewards are parsed using a new SparseStateRewardParser that parses lines consisting of a state and an associated reward.
* The Dtmc class now stores the two reward models.
* The DtmcParser class now parses up to one transition-based and one state-based reward file. They may, however, be omitted in which case the respective reward model is set to null.
12 years ago
gereon
37f6337fa5
using new iterator for checking matrix
SquareSparseMatrix now has a new iterator over elements in a row.
Dtmc uses this iterator to check the probability matrix.
12 years ago
gereon
4d4219991c
renaming sanity check, fix brackets
12 years ago
Lanchid
afb0373358
Added DtmcParser class that parses a whole DTMC, making use of the
labeling and transitions parser.
Removed the parseDtmc function from IoUtility, as it became obsolete
with the DtmcParser class, fitted test cases accordingly.
12 years ago
gereon
5cc8e8bb2d
modified sanity check to use internal data structures...
12 years ago
gereon
83e660ac3d
check is sums of each row is one (or zero for "imaginary" states)
12 years ago
PBerger
fe95c2225b
Added missing contructors to all exceptions.
12 years ago
PBerger
96c7dd9a79
Added the (default) external build path /build to git ignore.
Added, fixed, refactored Include Guards in ALL Files, should be consistent now.
12 years ago
PBerger
cce8391e44
Refactored everything to match naming scheme.
12 years ago
PBerger
1f36724cc2
Refactored StringOutput to use std::to_string
Fixed Reference/Pointer bugs in all formulas.
Implemented EigenDtmcPrctlModelChecker
Replaced uses of int32 with 64bits
12 years ago
gereon
4095e87282
changing pointer to std::shared_ptr
parsers return some kind of object and it is not clear who owns this object,
i.e. who is responsible to delete it.
12 years ago
Lanchid
3b8e2a488b
Fix for ticket 21.
Fixed the map of the AtomicPropositionsLabeling class to
std::unordered_map.
12 years ago
Lanchid
b726a07b3f
Small bugfix for the dot output
12 years ago
Lanchid
f5d2205352
- Removed enum to infer the correct formula (sub-)class, instead used
"check" which calls the correct check function in the model checker.
- The dot output was modified to work with the refactored names
- Also, it uses now filestreams instead of C style output
- and the iterators from the matrix class
- Included new (stub) test case for output (and general parsing)
12 years ago
dehnert
2bf01bfea3
Added graph search algorithms for determining the set of states that have no possibility of going to a non-target state. Enhanced bit vector class.
12 years ago
dehnert
05eaab7816
Removed invocations of memcpy in favour of std::copy as compilers will take care of optimizations.
12 years ago
dehnert
c634ff6d0b
Removed debug output.
12 years ago