org.rlcommunity.rlglue.codec
Interface RLGlueInterface
- All Known Implementing Classes:
- LocalGlue, NetGlue
public interface RLGlueInterface
This is the definition of an RLGlue 'engine'. The network codec is one such engine.
If you want to create your own network codec, or a 'direct-compile' RL-Glue
engine (like the one in RL-Viz), you should implement this interface.
- Since:
- 2.0
- Author:
- btanner
RL_init
java.lang.String RL_init()
RL_start
Observation_action RL_start()
RL_env_start
Observation RL_env_start()
RL_env_step
Reward_observation_terminal RL_env_step(Action theAction)
RL_agent_start
Action RL_agent_start(Observation theObservation)
RL_agent_step
Action RL_agent_step(double theReward,
Observation theObservation)
RL_agent_end
void RL_agent_end(double theReward)
RL_step
Reward_observation_action_terminal RL_step()
RL_cleanup
void RL_cleanup()
RL_agent_message
java.lang.String RL_agent_message(java.lang.String message)
RL_env_message
java.lang.String RL_env_message(java.lang.String message)
RL_return
double RL_return()
RL_num_steps
int RL_num_steps()
RL_num_episodes
int RL_num_episodes()
RL_episode
int RL_episode(int numSteps)