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
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
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
dehnert
351421e9e7
Corrected typo.
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
gereon
490f037259
Kind of undoing the previous commit.
gcc can only link, if -lobj is the first cudd lib to be linked...
Now, all the object files can be removed from libobj.a
12 years ago
gereon
4df73785ca
Modified cudd's libobj Makefile to work for me.
First: added CXXFLAGS line for g++
Second: added all necessary object files to libobj.a
12 years ago
dehnert
42693bf0f2
Fixed wrong includes of cuddObj.hh in expression classes. Added missing files of cudd.
12 years ago
gereon
270c3125b5
Adding new simple example pm file.
sync.pm contains a very simple model that uses the synchronization feature of prism.
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
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
9a1a7ae03c
Merge.
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
ff0f2197b2
Merge with master.
12 years ago
dehnert
6fb56748a6
Bugfix for correctly counting the number of values the parser inserts.
12 years ago
dehnert
726569d5f1
Fixed bug in parser that inserted 0-entries on the diagonal at the wrong places. Enabled link-time-optimizations for Release-Build when using clang. Fixed bug in base exception: what() returned a pointer to a char array belonging to a local variable, which got deallocated and thus invalidates the char array content.
12 years ago
PBerger
9a9cd968d9
Added a test to verify the RowSum Function in the Sparse Matrix.
Added an option to the settings for auto-fixing missing no-selfloop states. Kind of a super-option above fix-nodeadlocks, perhaps some Cleanup later on.
Modified tra Files to comply with formats...
12 years ago
dehnert
1edd306032
Silenced warning of clang: Changed NULL to nullptr as this should be used in C++11.
12 years ago
dehnert
0a6a0b9fd3
Eliminated warning of clang by introducing proper getter.
12 years ago
dehnert
c47b559986
Fixed minor bugs for Jacobi decomposition.
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
5b0af74fa6
Integrated a few more functions to CUDD which are necessary (PRISM adds them as well).
12 years ago
dehnert
278b425a35
Switched to die example.
12 years ago
PBerger
7e121b030e
Merge branch 'master' of https://sselab.de/lab9/private/git/storm
Conflicts:
src/storage/SparseMatrix.h
12 years ago
dehnert
7331544377
Added output functionality to bit vector and moved test-checking lines in storm.cpp to the right place.
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
1485eae477
Added cudd to gitignore so the changes to cudd (e.g. compiling) will not be committed to repo.
12 years ago
dehnert
9fbebb9349
Added CUDD to the repository.
12 years ago
dehnert
a17c99902b
The PRISM parser can now parse DTMC models that do not use synchronization.
12 years ago
dehnert
aec55c8ef5
Merge branch 'master' of https://sselab.de/lab9/private/git/storm
12 years ago