Skip to content

zsunberg/VDPTag2.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4431b24 · Nov 3, 2022

History

68 Commits
Nov 2, 2022
Nov 2, 2022
Nov 21, 2017
Nov 21, 2017
Nov 12, 2019
Nov 21, 2017
Nov 2, 2022
Jan 23, 2020
Nov 21, 2017

Repository files navigation

VDPTag2

Build Status

Coverage Status

codecov.io

See VDPTag2/test for usage examples.

VDPTag2 with POMCPOW.jl

using POMDPs
using POMCPOW
using POMDPModels
using POMDPSimulators
using POMDPPolicies
using VDPTag2

solver = POMCPOWSolver(criterion=MaxUCB(20.0))
pomdp = VDPTagPOMDP() # from VDPTag2
planner = solve(solver, pomdp)

hr = HistoryRecorder(max_steps=100)
hist = simulate(hr, pomdp, planner)
for (s, b, a, r, sp, o) in hist
    @show s, a, r, sp
end

rhist = simulate(hr, pomdp, RandomPolicy(pomdp))
println("""
    Cumulative Discounted Reward (for 1 simulation)
        Random: $(discounted_reward(rhist))
        POMCPOW: $(discounted_reward(hist))
    """)

VDPTag2 solved via POMCPOW.jl.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages