versus.meeting
Class RLMeetingAgent

java.lang.Object
  |
  +--versus.meeting.RLMeetingAgent

public class RLMeetingAgent
extends java.lang.Object

Meeting agent takes a stream of versus events and uses RL policy to determine whether there is a meeting at the current moment.

Version:
$Id: RLMeetingAgent.java,v 1.7 2003/08/01 20:06:25 glchen Exp $
Author:
Guanling Chen

Field Summary
(package private)  java.io.BufferedReader _in
           
(package private)  RLearner _learner
           
(package private)  int _maxSteps
           
(package private)  RLPolicy _policy
           
(package private)  int _steps
           
(package private)  RLMeetingWorld _world
           
(package private) static int LEARNING_STEPS
           
 
Constructor Summary
RLMeetingAgent(int steps, java.io.BufferedReader in)
          Construct the meeting agent with a versus event source.
 
Method Summary
 int[] getNextEvent()
           
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEARNING_STEPS

static final int LEARNING_STEPS
See Also:
Constant Field Values

_steps

int _steps

_maxSteps

int _maxSteps

_in

java.io.BufferedReader _in

_learner

RLearner _learner

_policy

RLPolicy _policy

_world

RLMeetingWorld _world
Constructor Detail

RLMeetingAgent

public RLMeetingAgent(int steps,
                      java.io.BufferedReader in)
Construct the meeting agent with a versus event source.

Method Detail

run

public void run()
         throws java.lang.Exception
java.lang.Exception

getNextEvent

public int[] getNextEvent()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception