gereon
583ebf62bd
made rowMapping from NDSTParser available in MDP model class
12 years ago
gereon
0992df5c66
fixing test for deadlock nodes in parsers
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
PBerger
557461a77d
Renamed SquareSparseMatrix to SparseMatrix
12 years ago
gereon
6e2acc5159
add checked_strtod and use it in all parsers
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
eeaee58a56
first version of NonDeterministicSparseTransitionParser
This parser shall parse transition systems having transitions of the form
<from> <choice> <to> <probability>
Where every node <from> can first decide nondeterministically on a <choice>.
Then, for every <choice> he has a given set of nodes <to> with assigned <probability>.
While the parsing itself works and the number of non-zero non-diagonal entries for each choice class works, we have not decided on the exact way to store such transition systems in matrices...
12 years ago
Lanchid
383f34e745
Function renaming
12 years ago
Lanchid
3c741fae4a
Changed filename parameter for DeterministicSparseTransitionParser to a
const reference to an std::string, instead of char pointer
12 years ago
Lanchid
2da19207de
Removed check for valid probablilities, as we want to use the
DeterministicSparseTransitionParser for CTMCs (which have edges that are
not labeled with probabilities, but with weights) later on
12 years ago
Lanchid
b0b8c98f6b
Renamed TraParser to DeterministicSparseTransitionParser
12 years ago
PBerger
01ea2c8427
Moved os specific includes into OsDetection.h
12 years ago
PBerger
08f87d545c
Some more refactoring, renaming, adding #ifndef guards...
Fixed a warning in SquareSparseMatrix.h regarding a conversion from uint64 to uint
12 years ago
gereon
64bf554cad
some more reformatting
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
gereon
07ac945794
some more documentation
also call delete for objects created in parsers
as you can see, this is kind of ugly, maybe we should use a different structure there...
12 years ago
gereon
f960e20e53
porting LabParser and TraParser from c-style API to class API
12 years ago
gereon
19b55ef9a0
fixed handling of invalid floats in Tra parser and converted tra files still containing floats with comma
Sorry for large commit, but crowds-file has to be converted at some point...
12 years ago
gereon
3782122ac6
adding log output with LOG4CPLUS macros
12 years ago
gereon
5ce8355d2b
removing pantheios (new logger will be added soon) and fixed a warning
12 years ago
gereon
8d89375c6e
integrated renaming within master branch into code merged from parser branch
12 years ago
gereon
bb1dae23fc
Lab and Tra parser pass test cases
Some more fixing, error handling and restructuring.
Both parsers now pass all test cases.
12 years ago
gereon
82b502970e
patched tra parser, test cases work now
12 years ago
PBerger
4f7cbd450a
Fixed bugs in the Windows Part of the parser, refactored includes to meet Windows Requirements.
Deleted a #warning
12 years ago
gereon
ad0c802fcc
minor cleanups, added documentation.
13 years ago
gereon
ea8504a84e
some fixes to new parser, calculate maximum node number manually
13 years ago
gereon
408290d72b
moved file mapping logic to parser.h
13 years ago
gereon
2cf8f3baec
more work on refactoring / rewriting parsers
13 years ago
dehnert
3c5dbb8483
Changed all indexing to 0-bound. From now on, the available states always start with 0 and end with the state with the highest index used.
Adapted the test cases.
Added comments in the sparse matrix class.
13 years ago
gereon
e35b950eea
fixing locale issue
13 years ago
gereon
25e5095a7c
now, the parser even works :-)
13 years ago
gereon
6caf95f62e
first version of new parser
13 years ago
PBerger
a4f5794419
Added conversion routines from/to Eigen Sparse Matrix Format
Added tests for aforementioned conversion routines.
Changed call parameters for sparse/static_sparse_matrix.h
Minor ICL 13.x changes.
13 years ago
PBerger
1643901c5a
Big bunch of fixes, including memory leaks, bad code pathes, insufficent error reporting, uninitialized variables, etc, etc.
Edited sparse/static_sparse_matrix.h, added an internal state enum to represent errors and the like.
13 years ago
Thomas Heinemann
da8ed67224
- Comments
- Support for std::unordered_map
- CMakeList.txt: enable C++11 for gcc; debug symbols only when Debug
version is created.
13 years ago
Thomas Heinemann
a0e07c2022
Parser for labelling files including new data structure managing
different atomic propositions.
(Works now as node_array attribute of class Atomic_proposition is now
always instantiated with 0)
13 years ago
Thomas Heinemann
e5048cabb6
Closed memory leaks.
13 years ago
PBerger
307b85e331
Edited static_sparse_matrix.h, replaced all calloc/malloc calls with std::new
Removed calls to exceptions with parameter "const char *", is illegal
Fixed a warning in read_tra_file.cpp
13 years ago
Thomas Heinemann
5c7c23f4d6
Some minor changes (especially limiting the range of variables if
possible)
13 years ago
Thomas Heinemann
ebc0db4750
Formatting
13 years ago
Thomas Heinemann
a908faf1a1
Worked on TODO's (minor stuff)
13 years ago