dehnert
947581dd25
Refactored and fixed bugs in explicit model adapter. Added support for labeling of choices of a model. The explicit model adapter uses that functionality to label each choice with the involved PRISM commands.
Former-commit-id: 818431d6e9
11 years ago
PBerger
01fd3c18e3
Added move constructors, added move-calls where fitting.
Former-commit-id: e73336c816
12 years ago
PBerger
fb3209dfc3
Added missing template parameters in the abstract models
Former-commit-id: 05a07d1c59
12 years ago
PBerger
78184f9537
Added a Hash Class in the Utility Namespace.
Added a function getHash() which returns a size_t to most of the used Models and Containers.
Former-commit-id: ed52aa3996
12 years ago
PBerger
d596f126b2
Fixed/added missing Copy Constructors for Models and the SparseMatrix
Former-commit-id: 730eaae49f
12 years ago
PBerger
b978a4d311
Added more move constructors.
Former-commit-id: 9770365fbb
12 years ago
PBerger
f4050e5b18
Edited Parsers, re factored interface into a single function without an encapsulating class. Warning, this is work in Progress and not yet compiling.
12 years ago
Lanchid
5b57728d7e
Merge branch master into PrctlParser
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
gereon
b4862360ba
made Ctmc and Dtmc subclasses of AbstractModel
implement getType()
fixed typo
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
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
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
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
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
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
8857655b56
Refactored names according to guidelines.
12 years ago
dehnert
70bf39b634
Fixed includes for graph transitions class. Added index iteration functionality to the bit vector class.
12 years ago
dehnert
1ed29262ff
Renamed dtmc.h to Dtmc.h and backward_transitions.h to BackwardTransitions.h.
12 years ago
dehnert
378fe3f532
Renamed and refactored atomic propositions labeling.
12 years ago
dehnert
8911b0b71a
Fixed wrong namespace for bit vector and square sparse matrix classes.
12 years ago
dehnert
8806dc6592
Performed renaming of static_sparse_matrix.h to SquareSparseMatrix.h, renamed the class accordingly and adapted the tests and includes.
12 years ago
dehnert
876154e6f0
Removed logging output from all classes. Added log4cplus as 3rdparty library. Refactored CMakeLists.txt to always use libraries that are in the repository. Changed executable file to mrmc/mrmc-tests. Added case distinction in gtest to compile with clang.
12 years ago
dehnert
5a8c2a8d0e
Added iterator functionality to bit vector. Minor cosmetics here and there.
12 years ago
dehnert
ee081fd570
Fixed a lot of memory access violations, memory leaks, warnings. Enabled -Werror for gcc, as there are currently no warnings.
12 years ago
dehnert
bd594e2fae
Added backwards transitions class. Small refactorings. Had to comment out some parts in utility.cpp and read_tra_file_test.cpp because they do not compile and seem to not be compliant with the current version in the repository.
12 years ago
dehnert
107ea1e498
Fixed minor typo in comment.
12 years ago
dehnert
b7618fd91a
Refactoring of labeling classes.
12 years ago
dehnert
44fbef62bd
Added capability to compute model size in bytes and corresponding functions in several classes. Added model info output to DTMC class. Added atomic proposition information output to atomic propositions labeling class.
12 years ago
dehnert
0ec2369459
Added support for 1-based indices for atomic proposition labeling. Fixed some whitespace typos.
12 years ago
dehnert
c33dfac505
Renamed classes for atomic proposition labeling storage.
Added some methods to DTMC class stub.
12 years ago
dehnert
88101ef238
Fixed comment typo.
12 years ago
dehnert
b7eaeab11f
Renamed dtmc folder to models, corrected namespace in contained classes and fixed includes in affected files.
Added DTMC class stub.
12 years ago