Browse Source
During reward construction in the explicit engine using the new ModelGenerator functionality (see SVN 11772), the check for transition rewards was missing (he explicit engine currently does not support transition rewards for DTMCs and CTMCs). This commit adds functionality to ModelInfo to determine whether a reward structure defines transition rewards and adds a corresponding check during reward construction. Example: prism-examples/dice/dice.pm with R=?[ F s=7 ] and -explicit returns 0 instead of an error message. git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11802 bbc10eb1-c90d-0410-af57-cb519fbb1720master
6 changed files with 38 additions and 1 deletions
Loading…
Reference in new issue