nl.tudelft.goal.ut2004.agent.module
Class PerceptModule

Package class diagram package PerceptModule
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<UT2004Bot>
          extended by nl.tudelft.goal.ut2004.agent.module.PerceptModule
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent

public class PerceptModule
extends cz.cuni.amis.pogamut.base.agent.module.SensorModule<UT2004Bot>

Module that prepares a batch of percepts after each update of the world view. Percepts are gathered based on AsPercept annotations in the controller. A batch can be collected using getAllPercepts().

Author:
mpkorstanje

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensorModule
worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
PerceptModule(UT2004Bot agent)
           
 
Method Summary
 Map<String,Object> getAllPercepts()
           
 void updatePercepts()
          Calls all percept providers and puts the result in a new batch.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerceptModule

public PerceptModule(UT2004Bot agent)
Method Detail

updatePercepts

public void updatePercepts()
Calls all percept providers and puts the result in a new batch.


getAllPercepts

public Map<String,Object> getAllPercepts()


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.