We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need the mdp to EITHER implement transition or generate_sr. What's the right way to do that?
transition
generate_sr
The text was updated successfully, but these errors were encountered:
You should be able to something like this:
@POMDP_require solve(solver::LocalApproximationValueIterationSolver, mdp::Union{MDP,POMDP}) begin ... if solver.is_mdp_generative @req generate_sr(...) else @req transition(...) @req reward(...) end ... end
Sorry, something went wrong.
OR you could fix the "Use static analysis..." checkbox of JuliaPOMDP/POMDPs.jl#124 and it would all work automatically :)
Thanks! I'll start with the first one for now and then do the second one maybe later ;)
Edit - First suggestion added in af0d50d, second for later.
Shushman
No branches or pull requests
We need the mdp to EITHER implement
transition
orgenerate_sr
. What's the right way to do that?The text was updated successfully, but these errors were encountered: