cz.cuni.amis.pogamut.base.agent.impl
Class AbstractObservingAgent<WORLD_VIEW extends IWorldView>

Package class diagram package AbstractObservingAgent
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
      extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent<WORLD_VIEW>
All Implemented Interfaces:
IAgent, IObservingAgent, IComponent, IComponentAware, IControllable
Direct Known Subclasses:
AbstractGhostAgent

public abstract class AbstractObservingAgent<WORLD_VIEW extends IWorldView>
extends AbstractAgent
implements IObservingAgent

The main difference between AbstractAgent and AbstractObservingAgent is that this one has a world to observe. It's a next step towards embodied agent.

Author:
Jimmy

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
events, INTROSPECTION_ROOT_NAME, log, LOG_CATEGORY_NAME
 
Constructor Summary
AbstractObservingAgent(IAgentId agentId, IComponentBus bus, IAgentLogger logger, WORLD_VIEW worldView)
           
 
Method Summary
 WORLD_VIEW getWorldView()
          Returns abstraction for the agent's world.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
addDependency, addDependency, addDependency, addJMXComponents, awaitState, awaitState, componentFatalError, componentStarted, componentStarted, componentStopped, componentStopping, createAgentJMX, createIntrospection, equals, getComponentId, getEventBus, getIntrospection, getJMX, getLog, getLogger, getName, getState, hashCode, inState, kill, killAgent, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetAgent, resetEvent, resume, resumeAgent, setState, start, startAgent, startPaused, startPausedAgent, stop, stopAgent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgent
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponentAware
getEventBus
 

Constructor Detail

AbstractObservingAgent

@Inject
public AbstractObservingAgent(IAgentId agentId,
                                     IComponentBus bus,
                                     IAgentLogger logger,
                                     WORLD_VIEW worldView)
Method Detail

getWorldView

public WORLD_VIEW getWorldView()
Returns abstraction for the agent's world. That can be anything the range is broad ... from chess board to the UT2004 3D environment.

The implementation may be different as the user needs.

Specified by:
getWorldView in interface IObservingAgent
Returns:


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