Skip to content
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

Hard to get working with SARSOP #21

Closed
zsunberg opened this issue Oct 1, 2020 · 1 comment
Closed

Hard to get working with SARSOP #21

zsunberg opened this issue Oct 1, 2020 · 1 comment

Comments

@zsunberg
Copy link
Member

zsunberg commented Oct 1, 2020

I have backed us into a corner where it is hard to get QuickPOMDPs to work with SARSOP. This is because the POMDPX file format only supports (a, sp)-conditioned observation functions, but it also uses POMDPModelTools.StateActionReward, which requires the standard (s, a, sp) observation function.

If the user declares the observation function as an anonymous function inside of a QuickPOMDP constructor, there is no easy way to declare both methods. I am not sure what to do about this.

Current workaround is to declare the observation function outside of the constructor and define both methods.

@zsunberg
Copy link
Member Author

zsunberg commented Oct 1, 2020

Maybe we should use static_hasmethod from Tricks.jl? That seems sketchy though.

zsunberg added a commit that referenced this issue Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant