Skip to content

Commit

Permalink
obsvector_type in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Aug 6, 2019
1 parent f5733a9 commit af095f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ POMDPs.initialstate(problem::Union{MDP, POMDP}, rng::AbstractRNG)
```
which should return something of type State, where the argument problem is of type e.g. MDP{State, Action}

To specify the type `A1` of the observation vector returned by the wrapper, you can implement the
`obsvector_type` function for your specific MDP or POMDP. This function default to `Vector{Float32}`.
It will be called when initializing any of the wrappers to determine the type to give as input to the `convert_s` function.

0 comments on commit af095f6

Please sign in to comment.