PBerger
d3c80dca16
Updated CMakeLists.txt
- Added more sub-folders in the source-structure
- Added an option for MSVC to use /bigobj with the Compiler as PrismParser.cpp bloats the object instance count
- Edited CUDD Link Targets for MSVC
Edited SymbolicModelAdapter.h, added an alternative implementation for log2 (NOT part of C90, not of Cxx!)
Edited Program.cpp, promoted vars from int to uint to conquer warnings related to loss of precision
Likewise in DeterministicSparseTransitionParser.cpp, IntegerConstantExpression.h
Edited storm.cpp, reimplemented Usage-Query for non-Unix platforms.
Edited CuddUtility.h, added an include for int Type definitions as they do not fall from the sky
Edited ErrorHandling.h. reimplemented ErrorHandling for non-Unix platforms. Backtraces can not yet be provided.
12 years ago
gereon
aafdbf7671
Fixed errors due to merging.
12 years ago
gereon
fad8290844
Renamed WrongFileFormatException to WrongFormatException
12 years ago
gereon
5495456991
Added new log level "trace"
Fixed bug in ExplicitModelAdapter
12 years ago
gereon
8cdb6d5394
Put initial state in stateToIndexMap
12 years ago
gereon
21e3740867
Fixed bug in computation of number of choices in case of deadlocks.
12 years ago
gereon
860a775c18
Actually skip modules that do not have commands with current label.
12 years ago
gereon
b7a1e90579
Variables were counted in two places (VariableState and ExplicitAdapter).
Now, they got mixed up... this is fixed now.
12 years ago
gereon
ac313cb997
Removed debug output, fixed DoubleExpressionGrammar
12 years ago
gereon
014ecd8597
Fixed some glitches, producing meaningful error if sum of probabilities for a command is not one
12 years ago
gereon
dffe274f64
Fixed error in MDP builder: swapped number of columns and rows.
12 years ago
gereon
9613d099bb
Removed shared_ptr for module, program and rewardmodel objects.
12 years ago
gereon
1878962dea
Fixed another nullptr, removed shared_ptr for Update and Command objects.
12 years ago
gereon
d03f8eeb9d
Added checks, if we actually have a model before accessing it...
12 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
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
75ce91082a
Forgot to commit actual cpp file...
12 years ago
gereon
5f64fd168b
Cleaned up structure of ExplicitModelAdapter.
- added cpp file
- returns complete models now (missing transition rewards...)
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
84993d24f8
Add documentation for ExplicitModelAdapter.
12 years ago
gereon
dfd601e126
fixed memory leak in addLabeledTransition and removed now obsolete functions.
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
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
06d78967df
Fixed MDP Parser, removed parsing of STATES/TRANSITIONS, see #10
Refactored the Sparse Adapters, see #17
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
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
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
dehnert
db01eb92d9
Splitted explicit model adapter into several logical functions.
12 years ago
dehnert
34aff4cbd9
Added constructor for ExplicitModelAdapter class.
12 years ago
dehnert
777aa3a914
Intermediate commit to switch workplace.
12 years ago
dehnert
5f57cbb12a
Now able to build the BDD for the die example, including the reachability analysis! Booyah
12 years ago
dehnert
4d813999e3
Backup commit. On my way of buidling appropriate BDDs.
12 years ago
dehnert
c4af78b859
Added singleton utility class for CUDD-based things. Added some first methods to expression classes to generate ADDs, but this should be moved to a separate class implementing the expression visitor pattern.
12 years ago
dehnert
edd3a9a20e
Added possibility to evaluate expressions without concrete variables. Fixed some minor things in CUDD Makefiles. Renamed IR adapter.
12 years ago
dehnert
a17c99902b
The PRISM parser can now parse DTMC models that do not use synchronization.
12 years ago
dehnert
756cbd4ed1
Fixed some bugs in GmmxxAdapter and added row-vector product to sparse matrix.
12 years ago
PBerger
4bb76d0268
Added EigenAdapter and a Test for the Adapter.
Fixed a type in EigenDtmcPrctlModelChecker.h
Added missing transitions in one example input file
12 years ago
PBerger
ad3922ec18
Fixed a bug in the GmmAdapter with non-square matrices being truncated.
12 years ago
PBerger
9e416b69e5
The GmmxxAdapter converts to a Row-Major Matrix, not column-major.
12 years ago
dehnert
aba470960f
Intermediate commit to test code under linux.
12 years ago
dehnert
c19418b871
Intermediate commit to switch workplace.
12 years ago