jadex.agent
Class EscapeAgent

java.lang.Object
  extended by jadex.micro.MicroAgent
      extended by jadex.agent.WallfollowAgent
          extended by jadex.agent.EscapeAgent
All Implemented Interfaces:
jadex.bridge.IInternalAccess, jadex.micro.IMicroAgent

public class EscapeAgent
extends WallfollowAgent


Nested Class Summary
 
Nested classes/interfaces inherited from class jadex.micro.MicroAgent
jadex.micro.MicroAgent.TimerWrapper
 
Field Summary
(package private)  boolean gotCaught
           
(package private)  double minDist
          Minimum escape distance
 
Fields inherited from class jadex.agent.WallfollowAgent
deviceNode, hs, logger, ps, robot
 
Fields inherited from class jadex.micro.MicroAgent
interpreter, longtime, timers
 
Constructor Summary
EscapeAgent()
           
 
Method Summary
 void agentCreated()
           
 void agentKilled()
           
(package private)  void dance()
           
 void executeBody()
           
static jadex.micro.MicroAgentMetaInfo getMetaInfo()
           
 
Methods inherited from class jadex.agent.WallfollowAgent
getDeviceNode, getHelloService, getLogger, getRobot, getSendPositionService, sendHello, sendPosition, setDeviceNode, setRobot
 
Methods inherited from class jadex.micro.MicroAgent
addComponentListener, addDirectService, addService, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getChildren, getComponentIdentifier, getConfiguration, getExternalAccess, getModel, getParent, getServiceProvider, getTime, init, isAtBreakpoint, killAgent, killComponent, messageArrived, removeComponentListener, removeService, scheduleStep, sendMessage, setResultValue, waitFor, waitForTick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minDist

double minDist
Minimum escape distance


gotCaught

boolean gotCaught
Constructor Detail

EscapeAgent

public EscapeAgent()
Method Detail

agentCreated

public void agentCreated()
Specified by:
agentCreated in interface jadex.micro.IMicroAgent
Overrides:
agentCreated in class WallfollowAgent
See Also:
WallfollowAgent.agentCreated()

executeBody

public void executeBody()
Specified by:
executeBody in interface jadex.micro.IMicroAgent
Overrides:
executeBody in class WallfollowAgent
See Also:
WallfollowAgent.executeBody()

agentKilled

public void agentKilled()
Specified by:
agentKilled in interface jadex.micro.IMicroAgent
Overrides:
agentKilled in class WallfollowAgent
See Also:
WallfollowAgent.agentKilled()

getMetaInfo

public static jadex.micro.MicroAgentMetaInfo getMetaInfo()

dance

void dance()