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

Method Summary
 void RL_agent_end(double theReward)
           
 java.lang.String RL_agent_message(java.lang.String message)
           
 Action RL_agent_start(Observation theObservation)
           
 Action RL_agent_step(double theReward, Observation theObservation)
           
 void RL_cleanup()
           
 java.lang.String RL_env_message(java.lang.String message)
           
 Observation RL_env_start()
           
 Reward_observation_terminal RL_env_step(Action theAction)
           
 int RL_episode(int numSteps)
           
 java.lang.String RL_init()
           
 int RL_num_episodes()
           
 int RL_num_steps()
           
 double RL_return()
           
 Observation_action RL_start()
           
 Reward_observation_action_terminal RL_step()
           
 

Method Detail

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)