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
Constructor Summary |
RLMeetingAgent(int steps,
java.io.BufferedReader in)
Construct the meeting agent with a versus event source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RLMeetingAgent
public RLMeetingAgent(int steps,
java.io.BufferedReader in)
- Construct the meeting agent with a versus event source.
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