Skip to content

Commit

Permalink
Update generative.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg authored Jul 10, 2023
1 parent 184e791 commit 7dcbd58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Function for implementing the entire MDP/POMDP generative model by returning a `NamedTuple`.
`gen` should *only* be implemented in the case where *two or more* of the next state, observation, and reward need to be generated at the same time. If the state transition model can be separated from the reward and observation models, you should implement `transition` with an `ImplicitDistribution` instead of `gen`.
Solver and simulator writers should use the `@gen` macro to call a generative model.
# Arguments
Expand Down

0 comments on commit 7dcbd58

Please sign in to comment.