How to constitute POMDP with continuous action space? #507
Replies: 3 comments 4 replies
-
I found that VDPTag2.jl has a continuous action space. However, its source code is so complicated for beginners like me. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi @tyoshidais. Currently for POMDPs.jl there is no single standardized way of defining a continuous action space. How you define the space depends on the solver you intend to use. For VDPTag you linked is intended for continuous action space compatible tree search solvers such as ParticleFilterTrees, or POMCPOW. The only thing these solvers need from the continuous action space is to be able to sample from it via As simple example, here's something that gives you a continuous space of numbers between 0 and 10: struct MyContinuousActionSpace end
POMDPs.actions(::MyPOMDP) = MyContinuousActionSpace()
Base.rand(rng, ::MyContinuousActionSpace) = rand(rng)*10 |
Beta Was this translation helpful? Give feedback.
-
You can also use other packages such as using IntervalSets
m = QuickPOMDP(
actions = 0.0..10.0
)
|
Beta Was this translation helpful? Give feedback.
-
How to constitute POMDP with continuous action space?
I have looked at samples on POMDPGallery.jl and POMDPModels.jl.
However, they seem to be designed to have a discrete action space.
Beta Was this translation helpful? Give feedback.
All reactions