Created
October 28, 2019 00:17
-
-
Save msaroufim/d7d9090024d048b4484e80d6478ba7c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutable struct Episode{E<:AbstractEnvironment,P<:AbstractPolicy,F<:AbstractFloat} | |
env::E | |
policy::P | |
total_reward::F # total reward of the episode | |
last_reward::F | |
niter::Int # current step in this episode | |
freq::Int # number of steps between choosing actions | |
maxn::Int # max steps in an episode - should be constant during an episode | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment