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
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
2005eb7e73
Added getter routines, so we can retrieve the reward models
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
05cc90cece
Now also creating a std::set before inserting stuff...
12 years ago
dehnert
42693bf0f2
Fixed wrong includes of cuddObj.hh in expression classes. Added missing files of cudd.
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
db01eb92d9
Splitted explicit model adapter into several logical functions.
12 years ago
dehnert
777aa3a914
Intermediate commit to switch workplace.
12 years ago
dehnert
0a6a0b9fd3
Eliminated warning of clang by introducing proper getter.
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
c19418b871
Intermediate commit to switch workplace.
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
dehnert
a82c8b3153
Moved implementation of PrismParser completely to source file. Fixed some minor things in IR classes.
12 years ago
dehnert
4b7c6a8941
Splitted PrismParser class into header and implementation file. Commented both files properly. Cleaned interface of PrismParser.
13 years ago
dehnert
f52201466c
Parsing labels works now.
13 years ago
dehnert
6a33f84512
Another step towards PRISM model parsing: small models get recognized correctly.
13 years ago
dehnert
a44da7d50a
Commit to switch workplace.
13 years ago
dehnert
f7194a416d
Cleaned IR classes a bit and made attributes private. Changed grammar rules accordingly.
13 years ago
dehnert
b381321653
Added more classes to IR. Extended PRISM-format parser.
13 years ago
dehnert
a4b7b27829
Added parsing support for expressions. Now working on parsing probabilistic programs.
13 years ago
dehnert
a7ab5bb309
More fun with Spirit.
13 years ago