Skip to content

Commit

Permalink
Add generative interface to FullyObservablePOMDP
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-fischer committed Aug 23, 2023
1 parent ec89812 commit f01bcc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/POMDPTools/src/ModelTools/fully_observable_pomdp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ POMDPs.observation(::FullyObservablePOMDP, a, sp) = Deterministic(sp)
POMDPs.states(pomdp::FullyObservablePOMDP) = states(pomdp.mdp)
POMDPs.actions(pomdp::FullyObservablePOMDP) = actions(pomdp.mdp)
POMDPs.transition(pomdp::FullyObservablePOMDP, s, a) = transition(pomdp.mdp, s, a)
POMDPs.gen(pomdp::FullyObservablePOMDP, s, a, rng) = gen(pomdp.mdp, s, a, rng)
POMDPs.isterminal(pomdp::FullyObservablePOMDP, s) = isterminal(pomdp.mdp, s)
POMDPs.discount(pomdp::FullyObservablePOMDP) = discount(pomdp.mdp)
POMDPs.stateindex(pomdp::FullyObservablePOMDP, s) = stateindex(pomdp.mdp, s)
Expand Down

0 comments on commit f01bcc0

Please sign in to comment.