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

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

public class UT2004PositionStuckDetector
extends Object
implements IStuckDetector


Constructor Summary
UT2004PositionStuckDetector(UT2004Bot bot)
           
UT2004PositionStuckDetector(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

UT2004PositionStuckDetector

public UT2004PositionStuckDetector(UT2004Bot bot)

UT2004PositionStuckDetector

public UT2004PositionStuckDetector(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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.