cz.cuni.amis.pogamut.udk.agent.navigation.stuckdetector
Class UDKPositionHistoryStuckDetector

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

public class UDKPositionHistoryStuckDetector
extends Object
implements IStuckDetector


Constructor Summary
UDKPositionHistoryStuckDetector(UDKBot bot)
           
UDKPositionHistoryStuckDetector(UDKBot bot, int historyLength, double minMovementDiameter, double minMovementZ)
           
 
Method Summary
 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

UDKPositionHistoryStuckDetector

public UDKPositionHistoryStuckDetector(UDKBot bot)

UDKPositionHistoryStuckDetector

public UDKPositionHistoryStuckDetector(UDKBot 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)

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.