Function Rl-Init
(
rl-init )
This initializes everything, passing the environment's task specification
to the agent. This should be called at the beginning of every trial.
The rl-init function first connects the EXP to RL-Glue on HOST and PORT.
If the attempt is refused, it is tried again MAX-RETRY times, waiting for
RETRY-TIMEOUT second between them.
PARAMETERS:
exp : experiment in use [experiment]
host : host name or address [string]
(key parameter, default is +k-localhost+)
port : port number [0 <= integer <= 65535]
(key parameter, default is +k-default-port+)
max-retry : maximum number of connection trials [nil or 0 < integer]
(key parameter, default is nil)
retry-timeout : duration in seconds waited between retries [0 <= integer]
(key parameter, default is +k-retry-timeout+)
RETURNS:
task specification [string]