edu.cmu.cs.coral.icf.plan_based
Class PlannerControllerActionStream

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.PlannerControllerActionStream

public class PlannerControllerActionStream
extends java.lang.Object
implements ActionStream

Represents an action stream controlled by a planner.

Since:
ICF 0.0
Version:
$Id$

Constructor Summary
PlannerControllerActionStream(Agent agent)
          Constructs an action stream for the given Agent.
 
Method Summary
 Action getAction(java.util.Date time)
          Gets the next Action from the action stream
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PlannerControllerActionStream

public PlannerControllerActionStream(Agent agent)
Constructs an action stream for the given Agent.
Parameters:
agent - the Agent this action stream should control
Since:
ICF 0.0
Method Detail

getAction

public Action getAction(java.util.Date time)
Gets the next Action from the action stream
Specified by:
getAction in interface ActionStream
Parameters:
time - the current time in the simulation/world
Returns:
the action to execute now
Since:
ICF 0.0