-
Notifications
You must be signed in to change notification settings - Fork 100
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
The alternative to gen
that keeps me up at night
#269
Comments
I guess this would only replace the |
I would be all for this if we make something like a Edit: |
This has been implemented |
I'm not writing this issue because I necessarily think we should do it; I just want to document it somewhere.
This is the alternative to
gen
that keeps me up at night. I do not know how to decide if it is better thangen
or not.Instead of
gen
, we could have an "implicit distribution" type which contains a function that allows rand to sample from it, i.e.and it would be used like this:
A big plus is that it reduces the surface area of POMDPs.jl. There are fewer functions exported, and every problem would have a transition function.
I am not sure if it would be possible to support a syntax like
to support cases where there is an external simulator that produces states and rewards in one shot though.
The text was updated successfully, but these errors were encountered: