Skip to content

Commit

Permalink
added a few minor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jul 12, 2024
1 parent cbb9c89 commit 6113ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/POMDPTools/src/ModelTools/generative_belief_mdp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Create a generative model of the belief MDP corresponding to POMDP `pomdp` with
A belief is considered terminal when _all_ POMDP states in the support with nonzero probability are terminal.
The default behavior when a terminal POMDP state is sampled from the belief is to transition to [`terminalstate`](@ref). This can be controlled by the `terminal_behavior` keyword argument. Using `terminal_behavior=ContinueTerminalBehavior(pomdp, updater)` will cause the MDP to keep attempting a belief update even when the sampled state is terminal. This can be further customized by providing `terminal_behavior` with a `Function` or callable object that takes arguments b, s, a, rng and returns a new belief (see the implementation of `ContinueTerminalBehavior` for an example).
The default behavior when a terminal POMDP state is sampled from the belief is to transition to [`terminalstate`](@ref). This can be controlled by the `terminal_behavior` keyword argument. Using `terminal_behavior=ContinueTerminalBehavior(pomdp, updater)` will cause the MDP to keep attempting a belief update even when the sampled state is terminal. This can be further customized by providing `terminal_behavior` with a `Function` or callable object that takes arguments `b, s, a, rng` and returns a new belief (see the implementation of `ContinueTerminalBehavior` for an example). You can customize behavior additionally using `determine_gbmdp_state_type`.
"""
struct GenerativeBeliefMDP{P<:POMDP, U<:Updater, T, B, A} <: MDP{B, A}
pomdp::P
Expand Down

0 comments on commit 6113ea4

Please sign in to comment.