gereon
7dc5324a65
Program returns empty RewardModel and emits error, if invalid model is given.
12 years ago
gereon
928de19fed
Reorganized main routine. Catching errors that made it to the top level.
12 years ago
gereon
341dc50ab7
Added some better error output for basic parsers using errno
12 years ago
gereon
8dce5af515
fixed some warnings (comparison between signed/unsigned)
12 years ago
gereon
75ce91082a
Forgot to commit actual cpp file...
12 years ago
gereon
a73ae7aed4
Added new option --debug.
12 years ago
gereon
2bc32fe3de
Cleaned up handling of --verbose, proposing correct use of log levels from now on...
FATAL_LOG_LEVEL: Use, if we are going to crash.
ERROR_LOG_LEVEL: Use, if there is no reasonable way to continue.
WARN_LOG_LEVEL: Use, if we got something the average user should read.
INFO_LOG_LEVEL: Use, if this might in some cases be of interest.
DEBUG_LOG_LEVEL: Use, if this should usually not be relevant to a user.
TRACE_LOG_LEVEL: Use only during development.
There are three levels of verbosity:
- default: WARN and above
- verbose: INFO and above
- debug: DEBUG and above
12 years ago
gereon
5f64fd168b
Cleaned up structure of ExplicitModelAdapter.
- added cpp file
- returns complete models now (missing transition rewards...)
12 years ago
gereon
f52d4eb7a8
Added new option --debug.
12 years ago
gereon
fd30e8ca25
Cleaned up handling of --verbose, proposing correct use of log levels from now on...
FATAL_LOG_LEVEL: Use, if we are going to crash.
ERROR_LOG_LEVEL: Use, if there is no reasonable way to continue.
WARN_LOG_LEVEL: Use, if we got something the average user should read.
INFO_LOG_LEVEL: Use, if this might in some cases be of interest.
DEBUG_LOG_LEVEL: Use, if this should usually not be relevant to a user.
TRACE_LOG_LEVEL: Use only during development.
There are three levels of verbosity:
- default: WARN and above
- verbose: INFO and above
- debug: DEBUG and above
12 years ago
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