cz.cuni.amis.pogamut.ut2004.agent.navigation.stuckdetector
Class AccUT2004PositionStuckDetector

Package class diagram package AccUT2004PositionStuckDetector
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.stuckdetector.AccUT2004PositionStuckDetector
All Implemented Interfaces:
IStuckDetector

public class AccUT2004PositionStuckDetector
extends Object
implements IStuckDetector


Constructor Summary
AccUT2004PositionStuckDetector(UT2004Bot bot)
           
AccUT2004PositionStuckDetector(UT2004Bot bot, int historyLength, double minMovementDiameter, double minMovementZ)
           
 
Method Summary
 void eventEndMessage(EndMessage event)
           
 void eventSelf(IWorldObjectEvent<Self> event)
           
 boolean isStuck()
           
 void reset()
           
 void setBotTarget(ILocated target)
           
 void setBotWaiting(boolean state)
           
 void setEnabled(boolean state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccUT2004PositionStuckDetector

public AccUT2004PositionStuckDetector(UT2004Bot bot)

AccUT2004PositionStuckDetector

public AccUT2004PositionStuckDetector(UT2004Bot bot,
                                      int historyLength,
                                      double minMovementDiameter,
                                      double minMovementZ)
Method Detail

setEnabled

public void setEnabled(boolean state)
Specified by:
setEnabled in interface IStuckDetector

setBotWaiting

public void setBotWaiting(boolean state)
Specified by:
setBotWaiting in interface IStuckDetector

setBotTarget

public void setBotTarget(ILocated target)
Specified by:
setBotTarget in interface IStuckDetector

eventSelf

public void eventSelf(IWorldObjectEvent<Self> event)

eventEndMessage

public void eventEndMessage(EndMessage event)

isStuck

public boolean isStuck()
Specified by:
isStuck in interface IStuckDetector

reset

public void reset()
Specified by:
reset in interface IStuckDetector


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