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
About using PRISM for validation in Python #3
Comments
Hello Serendipity953
I'm currently using a fork of Prism to communicate with Python where I changed a couple of things such the use of Py4j. You can find the fork in the documentation in https://github.com/phate09/prism.
The file is prism/prism/src/server/MdpAbstract.java
Indeed there is no standard way of accessing PRISM from python so I built this interface for my project. Feel free to use it as a reference code
…On Aug 23 2022, at 9:04 am, Serendipity953 ***@***.***> wrote:
I am a graduate student who has just started researching the use of PRISM for some validation tasks. Instead of using a PRISM desktop application, I wanted to do this directly by building the PRISM model in Python and using the program interface.
I notice that your work uses PRISM through Py4j, for example "MDP = gateway.entry_point.getmdpsimple ()". I'm curious if "getMdpSimple()" is in a Java program you wrote yourself, and how can I use PRISM's Java API?
I would be honored if you could take note of my problem!
—
Reply to this email directly, view it on GitHub (#3), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ACWACB7BKWPTCPVW6WYXHMTV2SAYPANCNFSM57KNTCIQ).
You are receiving this because you are subscribed to this thread.
|
OK,thank you for your attention. I have found this file and I'm now reading it! It helps me a lot! |
Some errors have happened when I try to execute the runnables/symbolic/dqn/domain_analysis_sym.py follow the READEME.md.
So I changed the node in the graph form : to : So that the interval in self.graph.nodes.data() can have attribute action and the program can be executed until another error occur:
I‘m not sure whether the change I made is right and, if so, why the second error occurred. I'm sure that the gradle runs in the right way . |
maybe I found how to cope with this problem |
I am a graduate student who has just started researching the use of PRISM for some validation tasks. Instead of using a PRISM desktop application, I wanted to do this directly by building the PRISM model in Python and using the program interface.
I notice that your work uses PRISM through Py4j, for example "MDP = gateway.entry_point.getmdpsimple ()". I'm curious if "getMdpSimple()" is in a Java program you wrote yourself, and how can I use PRISM's Java API?
I would be honored if you could take note of my problem!
The text was updated successfully, but these errors were encountered: