Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eltype for stepthrough #558

Open
zsunberg opened this issue Jul 10, 2024 · 0 comments
Open

eltype for stepthrough #558

zsunberg opened this issue Jul 10, 2024 · 0 comments

Comments

@zsunberg
Copy link
Member

Currently collect(stepthrough(...)) returns a Vector{Any}. It might be nice to return something more concrete. This involves implementing eltype(::(PO)MDPSimIterator).

This should be pretty straightforward for states, actions, observations, reward, and time. It is a bit more complex for beliefs and info. It might require something like belief_type(updater, pomdp), which would not be too hard to make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant