dehnert
a642ba6e72
Started adapting dependent classes to new PRISM classes.
Former-commit-id: 59155b5fc9
11 years ago
dehnert
199b6576a9
Added ternary operator. Parsing standard PRISM models into the PRISM classes now works. Included tests for parsing stuff. ToDo: add remaining semantic checks for parsing/PRISM classes and fix explicit model adapter.
Former-commit-id: cb37c98f1f
11 years ago
dehnert
f6587b424d
Further work on PrismParser and the related PRISM classes...
Former-commit-id: be4ae055dd
11 years ago
dehnert
e67eb05309
Changed internal data structures of PRISM classes slightly. Added classs for certain ingredients that were represented as primitives before.
Former-commit-id: bdc61e88a5
11 years ago
dehnert
cc0c327668
Removed superfluous grammars and started working on making one PRISM grammar to rule them all.
Former-commit-id: 375acb4699
11 years ago
dehnert
d87c79d0f6
Added implies/iff to expression classes. Finished reworking PRISM classes.
Former-commit-id: ca202042ed
11 years ago
dehnert
d88876d0cd
PRISM classes almost adapted to new expression classes. TODO: source file of PRISM program.
Former-commit-id: 929a78684d
11 years ago
dehnert
6e1241211b
Started moving IR and adjusting it to the new expression classes.
Former-commit-id: 24a182701f
11 years ago
dehnert
52cd48c247
Fixed bug in restriction of a program to certain commands. Also, modules may now have an action without actually having a command labeled with the action and the explicit model adapter now handles this correctly.
Former-commit-id: 6bbb4b807c
11 years ago
dehnert
35d16a1191
Replaced VectorSet bei boost::container::flat_set, which does essentially the same. Fixed a bug in sparse matrix creation.
Former-commit-id: cb632bcfd4
12 years ago
dehnert
422da8f481
Added set class with an underlying vector container. Adapted code in counterexample generators to use the new set class. Still bugs in it though.
Former-commit-id: ac9993eab2
12 years ago
dehnert
fda9c43e86
Fix for SMT-based minimal command set generator. Minor fixes to string output of expression classes.
Former-commit-id: 316a762d74
12 years ago
dehnert
947581dd25
Refactored and fixed bugs in explicit model adapter. Added support for labeling of choices of a model. The explicit model adapter uses that functionality to label each choice with the involved PRISM commands.
Former-commit-id: 818431d6e9
12 years ago
dehnert
0473d1a757
Fixed a lot of issues with the IR and the explicit state space generator.
Former-commit-id: fe80aaaf0f
12 years ago
Lanchid
89ba67ed47
Using the boost map as actionsToCommandIndexMap on Linux, as emplace()
is not implemented for the gcc standard library yet...
Former-commit-id: 434caed243
12 years ago
dehnert
4dadedf39d
Added methods to retrieve module index by variable name from IR. This fixes an issue in the symbolic adapter.
12 years ago
dehnert
dd317bf6a4
Fixed issues with PRISM parser.
12 years ago
dehnert
7b8b1ebd4f
Further refactoring of IR classes.
12 years ago
dehnert
e30c386f23
On my way of splitting header/source files in IR to make forward-declaration easy.
12 years ago
dehnert
8abc703f6a
Further refactoring of IR and PRISM parser.
12 years ago
dehnert
22ddf9c5be
On my way of cleaning up Gereon's mess. :P
12 years ago
Lanchid
ec91dcbe2e
Merge branch master into LTLParser
12 years ago
gereon
5495456991
Added new log level "trace"
Fixed bug in ExplicitModelAdapter
12 years ago
gereon
ac86932785
Fixed renaming: Command names were not considered.
12 years ago
gereon
4222130524
Fixed a few more bugs in clone() of various Expression classes and some in the module renaming.
12 years ago
gereon
c3cfc5404c
Somewhat fixed weird issue during module renaming.
The "fix" is very weird (see VariableState.cpp:55 and following) and still seems to lead to a segfault upon program termination...
12 years ago
gereon
a9edf2aa8c
Removed some debug output.
12 years ago
gereon
1878962dea
Fixed another nullptr, removed shared_ptr for Update and Command objects.
12 years ago
gereon
3c1cf4819c
Fixed a few other issues. Module renaming seems to work now!
(However, there is still a segfault at some later point...)
12 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
12 years ago
gereon
840a9b6e07
Somewhat works now. Still has at least one bug and segfaults afterwards :-)
12 years ago
gereon
e55fca3836
Implemented module renaming.
This includes clone() routines (that accept the renaming information) for all ir::expressions classes, additional constructors for all ir classes and additional rules in PrismParser.
This is the first version that has the chance to work and actually compiles. (Insert some swearing here...)
Testing is to be done, as this will most probably not work yet.
12 years ago
gereon
05cc90cece
Now also creating a std::set before inserting stuff...
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
dehnert
4d813999e3
Backup commit. On my way of buidling appropriate BDDs.
12 years ago
dehnert
d414b93bad
Added some functionality to IR. Introduced case distinction for boolean/integer assignments in updates. Started writing an IR adapter.
12 years ago
dehnert
50f891b9f2
Removed some unnecessary boost stuff from IR expressions. Separated header and source file for all non-expression IR entities (expressions are still to come). Added comments for these classes.
12 years ago