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
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
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
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
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...
13 years ago
gereon
f960e20e53
porting LabParser and TraParser from c-style API to class API
13 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...
13 years ago
gereon
3782122ac6
adding log output with LOG4CPLUS macros
13 years ago
gereon
5ce8355d2b
removing pantheios (new logger will be added soon) and fixed a warning
13 years ago
gereon
8d89375c6e
integrated renaming within master branch into code merged from parser branch
13 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.
13 years ago
gereon
82b502970e
patched tra parser, test cases work now
13 years ago
PBerger
4f7cbd450a
Fixed bugs in the Windows Part of the parser, refactored includes to meet Windows Requirements.
Deleted a #warning
13 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