• Steven Cordwell's avatar
    [rewards] Handle sparse rewards better · e0d3c9b8
    Steven Cordwell authored
    Sparse rewards were broken. This commit adds several more functions to
    MDP class to make the reward computation code more modular and hopefully
    more correct. Rewards given as sparse matrices are converted to a dense
    vector. Future work will ensure that rewwards gieven in sparse format
    remain sparse. Fixes #7.
    e0d3c9b8
Name
Last commit
Last update
src Loading commit data...
.travis.yml Loading commit data...
LICENSE.txt Loading commit data...
README.rst Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...