JuliaPOMDP / POMDPs.jl

MDPs and POMDPs in Julia - An interface for defining, solving, and simulating fully and partially observable Markov decision processes on discrete and continuous spaces.
http://juliapomdp.github.io/POMDPs.jl/latest/
Other
657 stars 100 forks source link

Remove abstract types from rollout simulator #441

Closed BoZenKhaa closed 1 year ago

BoZenKhaa commented 1 year ago

The UnionAll types in the RolloutSimulator were causing dynamic dispatch (according to JET). Here, I replace the nothing with default values used in the nothing if-checks.