Skip to content

Commit

Permalink
docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Petrik committed Sep 10, 2024
1 parent 4ac2b72 commit 9920336
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/objectives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Objective that is solved by a randomized stationary policy
abstract type StationaryDet <: Stationary end

"""
InfiniteH(γ)
Inifinite-horizon discounted objective. The discount factor `γ` can
be in [0,1]. The optimal policy is stationary.
"""
Expand All @@ -39,8 +41,11 @@ struct InfiniteH <: StationaryDet
end

"""
FiniteH(γ, T)
Finite-horizon discounted model. The discount factor `γ` can
be in [0,1]. The optimal policy is Markov but time dependent.
be in [0,1] and the horizon `T` must be a positive integer.
The optimal policy is Markov but time dependent.
"""
struct FiniteH <: MarkovDet
γ::Float64
Expand All @@ -55,6 +60,8 @@ end


"""
TotalReward()
Total reward criterion. The objective is to maximize the sum
of the undiscounted rewards.
Expand Down

0 comments on commit 9920336

Please sign in to comment.