Browse Source
Added reward parsing:
Added reward parsing:
* Transition-based rewards are parsed using the existing (Deterministic)SparseTransitionsParser. * State-based rewards are parsed using a new SparseStateRewardParser that parses lines consisting of a state and an associated reward. * The Dtmc class now stores the two reward models. * The DtmcParser class now parses up to one transition-based and one state-based reward file. They may, however, be omitted in which case the respective reward model is set to null.tempestpy_adaptions
dehnert
12 years ago
5 changed files with 62 additions and 15 deletions
-
10src/modelChecker/GmmxxDtmcPrctlModelChecker.h
-
38src/models/Dtmc.h
-
24src/parser/DtmcParser.cpp
-
3src/parser/DtmcParser.h
-
2src/utility/Settings.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue