Simulator/src/model/agent/humanAgent/aatom/tacticalLevel/navigation/StuckDetector.java
/**
	 * Determines if the agent is stuck for a given number of seconds. Stuck is
	 * defined as moving at most 0.2m in <i>secondsStuck</i> seconds.
	 * 
	 * @param includeStopMoving
	 *            Determines if the agent should be considered stuck if he has a
	 *            stop order.
	 * @param secondsStuck
	 *            The number of seconds it takes before an agent is considered
	 *            stuck.
	 * @return True if the agent is stuck, false otherwise.
	 */
Determines if the agent is stuck for a given number of seconds. Stuck is
defined as moving at most 0.2m in secondsStuck seconds.

@param includeStopMoving
Determines if the agent should be considered stuck if he has a
stop order.
@param secondsStuck
The number of seconds it takes before an agent is considered
stuck.
@return True if the agent is stuck, false otherwise.
Determines if the agent is stuck for a given number of seconds . Stuck is defined as moving at most 0 . 2m in secondsStuck seconds . @param includeStopMoving Determines if the agent should be considered stuck if he has a stop order . @param secondsStuck The number of seconds it takes before an agent is considered stuck . @return True if the agent is stuck false otherwise .
public boolean isStuck(boolean includeStopMoving, double secondsStuck) {
		if (includeStopMoving && movementModel.getStopOrder())
			return false;
		return timeSamePos > secondsStuck;
	}
public boolean isStuck ( boolean includeStopMoving , double secondsStuck ) { if ( includeStopMoving && movementModel . getStopOrder ( ) ) return false ; return timeSamePos > secondsStuck ; }
Determines if the agent is stuck for a given number of seconds.
Determines if the agent is stuck for a given number of seconds .