public interface LearningAgent
runLearningEpisode(burlap.oomdp.singleagent.environment.Environment)
and runLearningEpisode(burlap.oomdp.singleagent.environment.Environment, int)
. Implementing the former method
should have the agent interact with the provided Environment
until the Environment
transitions to a terminal state. The
runLearningEpisode(burlap.oomdp.singleagent.environment.Environment, int)
should have the agent interact
with the Environment
until either a terminal state is reached or
the agent has taken maxSteps in the environment. Both methods should return an EpisodeAnalysis
object that records the interactions.Modifier and Type | Method and Description |
---|---|
EpisodeAnalysis |
runLearningEpisode(Environment env) |
EpisodeAnalysis |
runLearningEpisode(Environment env,
int maxSteps) |
EpisodeAnalysis runLearningEpisode(Environment env)
EpisodeAnalysis runLearningEpisode(Environment env, int maxSteps)