Consider moving initialstate_distribution
to the common section in the documentation
#237
Labels
Milestone
initialstate_distribution
to the common section in the documentation
#237
When implementing the
POMDP
interface -- even when implementing the generative version -- it seems to me that there is barely anything that one can do with this model unlessinitialstate_distribution
is implemented. E.g. when running aHistoryRecorder
, even when using theNothingUpdater
the code fails, since the initial belief distribution can not be determined (trying to callinitialstate_distribution
). So the common workaround seems to be to implement some custom distribution type and then defineBase.rand
on this type which simply callsinitialstate
from the generative interface.Maybe
initiastate_distribution
should be moved to the "common" section of the POMDPs.jl API documentation? Or maybe one could place a hint somewhere that the above workaround exists. @zsunberg suggested that this workaround could be placed inPOMDPModelTools.jl
in a generalized form.Feel free to come up with a better title for this issue.
The text was updated successfully, but these errors were encountered: