gereon
5976c9e81d
More work for ExplicitModelAdapter
* Removed templates from various functions, as we can only produce double models anyway.
* Added methods to compute state rewards and state labelings
* Added toModel() routine
12 years ago
gereon
2005eb7e73
Added getter routines, so we can retrieve the reward models
12 years ago
dehnert
af1aa4e1e5
Added native matrix-vector multiplication for our matrix format (as fast as gmm++). Fixed bug in bit vector. Fixed some issues in SCC decomposition. MDP model checkers now have the solving methods by default (native ones) and may override them with their own ones, if desired. Added some aux stuff, like vector helper methods.
12 years ago
dehnert
fbf28796b8
Fixed bug in gmm++ model checker: missing vector addition.
12 years ago
dehnert
aee63dcf31
Made the SCC generation during decomposition optional.
12 years ago
dehnert
961909877a
Added iterative version of Tarjan's algorithm for performing SCC decomposition of state-based models.
12 years ago
dehnert
df78cccf84
Fixed bug in graph transitions if initialization was done forward.
12 years ago
dehnert
726324a37a
Added missing model files for consensus example.
12 years ago
dehnert
01779c9e83
Incomplete version of SCC decomposition of nondeterministic models.
12 years ago
gereon
84993d24f8
Add documentation for ExplicitModelAdapter.
12 years ago
gereon
dfd601e126
fixed memory leak in addLabeledTransition and removed now obsolete functions.
12 years ago
gereon
e711d16ebf
Changed default initial value for BooleanVariable.
Was false (suggesting that no initial value would be equivalent to specifying false), is nullptr now.
12 years ago
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
dehnert
8870fa5f94
Changed all existing examples to 0-based indexing. Also, fixed the tests for these examples.
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
PBerger
22ce042472
Merge branch 'master' of https://sselab.de/lab9/private/git/storm
12 years ago
PBerger
5cdfba685e
Added resources for Usage of Intels Thread Building Blocks
Implemented multithreading using TBB inside of GMM for usage in Sparse Matrix Multiplication against Dense Vectors
Usage: #define GMM_USE_TBB to enable TBB, additionally define GMM_USE_TBB_FOR_INNER to enable multithreading for EACH row (only feasible of the number of NNZ per Row is large - as in near dense)
12 years ago
PBerger
2365b7e6ea
Updated gitignore file with a few more useful extensions
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
a6ae3d713a
Fixed test for nondeterministic model parser.
12 years ago
dehnert
c7f58ed5f5
Modified parsers such that the reward matrices are of the same size as the transition matrices.
12 years ago
dehnert
abae304719
Included tests for model checkers in test suite.
12 years ago
gereon
74ad17bc90
Merge branch 'master' of https://sselab.de/lab9/private/git/storm
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
dehnert
5b49307eaf
Added PRISM files for all of our examples. Added missing reward models. Added result files that indicate the results of PRISM on our examples.
12 years ago
gereon
aacd8b1fa2
Merge branch 'prismparser' of https://sselab.de/lab9/private/git/storm into prismparser
+ tiny fixes
Conflicts:
src/parser/PrismParser.cpp
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
38cec01978
Merge branch 'master' of https://sselab.de/lab9/private/git/storm
Conflicts:
src/parser/NondeterministicSparseTransitionParser.cpp
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
fb7b910f51
Reverted PRISM example to original reward formulation, because we can now deal with transition rewards on MDPs.
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
2a044d9a7c
Changed example files to comply with our current format, i.e., removed header.
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