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

Particle beliefs as AbstractVector{Pair{S, Float64}} #72

Closed
zsunberg opened this issue Sep 28, 2024 · 1 comment
Closed

Particle beliefs as AbstractVector{Pair{S, Float64}} #72

zsunberg opened this issue Sep 28, 2024 · 1 comment

Comments

@zsunberg
Copy link
Member

Maybe ParticleBeleifs should be AbstractVectors of state-weight pairs. The main advantage is that this would display nicely. A major disadvantage would be that they could never be subtyped as a distribution.

@zsunberg
Copy link
Member Author

Nope - this is a bad idea because samples are not randomly selected like they would be in an array

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

No branches or pull requests

1 participant