gereon
49ac740459
Changed a bit, how log messages are processed.
Thresholds are now as follows:
main logger INFO, consoleAppender WARN, fileAppender none (i.e. everything)
--verbose changes consoleAppender to INFO
--debug changes main logger and consoleAppender to DEBUG
12 years ago
dehnert
c784de4d03
Added new model checker that uses topological value iteration. However, does not fully work yet.
12 years ago
gereon
1f3b172c83
Added a simple module that handles segfaults: print a message and provide a backtrace.
I grew tired of always starting gdb when it would've sufficed to know the function.
This routine will demangle C++ symbols, so you can see in which function we crashed.
12 years ago
dehnert
bdf173c315
GraphTransition objects can now be build from the SCC decomposition of a system.
12 years ago
gereon
e4129c37d9
fixed two bugs in ExplicitModelAdapter.
12 years ago
gereon
5c25116a24
First version of ExplicitModelAdapter that supports transition rewards.
12 years ago
gereon
d9e833680a
Added convenience methods RewardModel::hasStateRewards() and RewardModel::hasTransitionRewards()
12 years ago
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
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
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