gereon
52225ecf9c
Fixes to buildInitialStates.
12 years ago
gereon
772c03c070
Added routine to create all initial states.
Variables that have no explicit initial value will cause initial state for all possible values.
12 years ago
dehnert
98426aa139
Added new MDP example 'consensus'. Added some test checking to storm.cpp.
12 years ago
dehnert
f787044ece
Fixed bug in cloning of negated formulas.
12 years ago
gereon
752dda4252
fixing error with difference operator in freeIdentifier
12 years ago
gereon
018e7ce056
some minor fixes.
Adapter now produces same result as prism for examples/dtmc/sync/sync.pm except order of nodes.
12 years ago
gereon
17d57e742a
Added code for labeled transitions.
New Adapter is basically finished, but not really tested ;-)
12 years ago
gereon
3464ef20c5
next chunk of code for new ExplicitModelAdapter.
now we have routines to create a result matrix from the intermediate representation, one for DTMCs and one for MDPs.
12 years ago
gereon
6d0d7e21c5
First chunk of code for new ExplicitModelAdapter.
The new adapter will generate an intermediate datastructure that holds all transitions to be inserted.
This will combine the two phases (computing the state space and actually generating the matrix) and can also be used for dtmc and mdp models.
This datastructure is only a list of maps for each state. Each map represents a nondeterministic choice and maps target node ids to their probability.
12 years ago
PBerger
d477d752b1
Updated the Jacobi Solver to make use of the new Adapters, refactored the Matrix conversion.
Residuum Calculcation still requires decision by CDehnert
12 years ago
dehnert
f1c379bbe3
Moved model checking functionality for MDPs for general superclass such that specialized model checkers only need to implement certain operations. Fixed tests.
12 years ago
dehnert
34b85b956e
Moved model checking of DTMCs to superclass. Now, each DTMC model checker only needs to implement matrix-vector multiplication and linear equation solving to be able to fully model check DTMCs. Added subset/disjoint functionality to bit vector. Changed tests for MDP and DTMC model checking a bit.
12 years ago
dehnert
4bcb26ab96
Included subset-test in bitvector.
12 years ago
dehnert
5e3a8a1232
Fixed wrong check for submatrix property of reward matrices.
12 years ago
dehnert
c7f58ed5f5
Modified parsers such that the reward matrices are of the same size as the transition matrices.
12 years ago
gereon
cf772688f0
added setter for options in Settings class.
12 years ago
dehnert
b7d4d974ec
Added a lot of test checking routines to main file.
12 years ago
gereon
ba49792d29
Perform two runs in PrismParser.
First run collects all variables, second run uses the declared variables.
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
3ab71cc08a
Added proper treatment of transition based rewards.
12 years ago
dehnert
7b259120b7
Marked submatrix check in DTMC and sparse matrix as faulty. Needs to be fixed.
12 years ago
dehnert
d38e7eeeb8
Implemented new utility functions and improved existing ones.
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
bc4eb661ba
Fixed some memory leaks. Fixed bug in vector utility. Fixed bug in sparse matrix printing. Fixed bug in DTMC model checker (computing reachability rewards). Included full reward model checking for MDPs.
12 years ago
dehnert
cbf4a2ff3b
Small update to model checking reward formulae over MDPs.
12 years ago
dehnert
e99909034c
Added some more test formula for two dice example in main file.
12 years ago
dehnert
0d7889932c
Fixed bug that gave wrong vector when parsing the state rewards.
12 years ago
dehnert
40f7ccac52
Implemented model checking of instantaneous reward formulae over MDPs in Gmmxx model checker.
12 years ago
dehnert
c0468675c7
Fixed parser to correctly ignore the file header.
12 years ago
dehnert
351421e9e7
Corrected typo.
12 years ago
PBerger
b2c0cfc57c
Added a conversion routine GmmXX -> Storm Sparse Matrix
Added Jacobi to possible LE Solvers in the GMM Model Checker
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
gereon
22d8ec76bc
fixed position indication in PrismParser in case of an error.
12 years ago
gereon
8f4f39d510
closed last memory leak...
12 years ago
gereon
34ca097eb3
fixed another more memory leak. One still missing...
12 years ago
gereon
58cf018371
Implemented synchronization in ExplicitModelChecker::buildMatrix().
This seems to produce the correct number of states and produces no valgrind errors. :-)
12 years ago
gereon
c33d319ac3
some minor fixes, now with less memory errors :)
12 years ago
gereon
05cc90cece
Now also creating a std::set before inserting stuff...
12 years ago
dehnert
42693bf0f2
Fixed wrong includes of cuddObj.hh in expression classes. Added missing files of cudd.
12 years ago
gereon
de268ec3e8
Forgot to remove a *...
12 years ago
gereon
e69c9db266
Implemented synchronization within computeReachableStateSpace.
Added new helper routines:
* getActiveCommandsByAction() retrieves commands that are active (i.e. guard is true) for some action.
* applyUpdate() copies a given state and updates it with a given update.
Added state expansion for synchronized commands.
Made former loop only consider unsynchronized commands.
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
gereon
845af3f12e
Added actionMap to Program, added set of actions to Module and Program.
12 years ago
gereon
00ce70d411
Added actionsToCommandIndexMap, initialization and getter.
This map maps an action name to the set of Commands labelled with this action name.
12 years ago
gereon
03ca1e880d
Renamed commandName to actionName, added getter for actionName
12 years ago
gereon
18b6e812a7
Added #include <memory>, as std::shared_ptr is used within this file
12 years ago
dehnert
0f9f5e67f6
A few minor fixes. Removed test for reward model.
12 years ago
gereon
75d61d3af3
explicit private constructor was not needed after all
12 years ago
gereon
b1498ef0bb
moved model from specific model checkers to AbstractModelChecker
12 years ago