JuliaPOMDP / POMDPPolicies.jl

MIT License
9 stars 8 forks source link

AlphaVectorPolicy with SparseCat beliefs #7

Closed MaximeBouton closed 5 years ago

MaximeBouton commented 5 years ago

implement action(::AlphaVectorPolicy, ::SparseCat), actionvalues, and value.

A more elegant solution could have been to implement a new method for dot since it is the only difference between DiscreteBelief and SparseCat but I needed an extra pomdp argument to make the dot product between the alpha vector and the sparse categorical belief to retrieve states indices.

MaximeBouton commented 5 years ago

I will take a look at #4 before merging this

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 30


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/alpha_vector.jl 14 23 60.87%
<!-- Total: 14 23 60.87% -->
Totals Coverage Status
Change from base Build 28: -3.8%
Covered Lines: 69
Relevant Lines: 95

💛 - Coveralls