Skip to content

Commit

Permalink
fix #194 by adding value(p::Policy, s, a) (only docs changed)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Aug 9, 2018
1 parent 0e8be18 commit 4e1abbf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/policy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ Returns a default Updater appropriate for a belief type that policy `p` can use
function updater end

"""
value{B}(p::Policy, x::B)
value(p::Policy, s)
value(p::Policy, s, a)
Returns the utility value from policy `p` given the state
Returns the utility value from policy `p` given the state (or belief), or state-action (or belief-action) pair.
The state-action version is commonly referred to as the Q-value.
"""
function value end

0 comments on commit 4e1abbf

Please sign in to comment.