Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zsunberg/vdptag2.jl
https://github.com/zsunberg/vdptag2.jl
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zsunberg/vdptag2.jl
- Owner: zsunberg
- License: other
- Created: 2017-11-21T23:58:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T02:45:16.000Z (over 2 years ago)
- Last Synced: 2025-01-19T19:55:09.684Z (17 days ago)
- Language: Julia
- Size: 59.6 KB
- Stars: 7
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VDPTag2
[![Build Status](https://travis-ci.org/zsunberg/VDPTag2.jl.svg?branch=master)](https://travis-ci.org/zsunberg/VDPTag2.jl)
[![Coverage Status](https://coveralls.io/repos/zsunberg/VDPTag2.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/zsunberg/VDPTag2.jl?branch=master)
[![codecov.io](http://codecov.io/github/zsunberg/VDPTag2.jl/coverage.svg?branch=master)](http://codecov.io/github/zsunberg/VDPTag2.jl?branch=master)
See [VDPTag2/test](https://github.com/zsunberg/VDPTag2.jl/tree/master/test) for usage examples.
## VDPTag2 with POMCPOW.jl
```jl
using POMDPs
using POMCPOW
using POMDPModels
using POMDPSimulators
using POMDPPolicies
using VDPTag2solver = 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
endrhist = 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](https://github.com/JuliaPOMDP/POMCPOW.jl).