-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status of CTMDP support #27
Comments
Hi. This functionality is not really complete. From memory, the basic probability computation methods in So, if you want to do some coding or try new algorithms with CTMDPs, this would be a fairly easy way to get a nice front-end for it. On the other hand, if you just want a way of solving some CTMDP models you already have, I suspect you'd find that the methods implemented in |
Hi Dave, thanks for the reply.
I think I'll do this.
Yes, this is what I needed. |
OK, great. Take a look and please just ask if you have questions. |
@davexparker It was just a matter of adding two lines in |
@pranavashok Hello, I am also trying to enable CTMDP in PRISM. Could you please share with me the modifications that you did in order to achieve that? |
Hi @nihsel, really sorry for not noticing your question earlier. This comment is probably not useful for you now, but maybe for others who stumble upon this issue in the future. The following changes in
|
hi @pranavashok, |
Hi. I recently wanted to add the CTMDP support in PRISM. This discussion is very helpful in solving the matter quickly. I wanted to add one more observation, it might help for future readers. After modifying the code in PrismParser.jj, we need to re-generate the PrismParser.java file with JavaCC tool, using the same version as used in the Prism. I Installed JavaCC version 5.0, which is the default version in Ubuntu repositories. But PRISM uses version 6. Because of this inconsistency in version, I couldn't run the PRISM library. Issue got resolved, when I again re-generated PrismParser.java with JavaCC version 6. |
Thanks for flagging this @pazhamalai. I added a note to our developer resources here: https://github.com/prismmodelchecker/prism/wiki |
Hi @davexparker @kleinj , I wanted to know if there are any plans to make CTMDP support mainstream. I can see a CTMDPModelChecker with bounded reachability implemented, but I couldn't find a way to invoke this through the CLI/GUI. The parser doesn't seem to support files starting with ctmdp either. Is there some hidden way in which one can input CTMDPs and do stuff on it? As far as I understand, CTMDP class extends MDPSimple and distributions store the rates instead (correct me if I'm wrong). It doesn't seem too hard to somehow write a CTMDP model file like one writes a MDP model file and parse it. Is it worth the effort to go this way?
The text was updated successfully, but these errors were encountered: