cz.cuni.amis.pogamut.ut2004.agent.navigation
Class UT2004PathExecutorStuckState
java.lang.Object
cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutorState
cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutorStuckState
- All Implemented Interfaces:
- IPathExecutorState
public class UT2004PathExecutorStuckState
- extends BasePathExecutorState
This class is broadcast by UT2004PathExecutor
whenever it gets stuck. It contains detail information about whereabouts of the stuck.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UT2004PathExecutorStuckState
public UT2004PathExecutorStuckState()
isGlobalTimeout
public boolean isGlobalTimeout()
- Whether it was GLOBAL timeout (imposed by
UT2004PathExecutor
) == true, or it was detected by getStuckDetector()
== false.
- Returns:
setGlobalTimeout
protected void setGlobalTimeout(boolean globalTimeout)
getStuckDetector
public IStuckDetector getStuckDetector()
- If not NULL, contains
IStuckDetector
that has reported the stuck ~ why we have stopped the execution.
- Returns:
setStuckDetector
protected void setStuckDetector(IStuckDetector stuckDetector)
getLink
public NavPointNeighbourLink getLink()
- If available contains
NavPointNeighbourLink
we have failed to traverse.
- Returns:
setLink
protected void setLink(NavPointNeighbourLink link)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.