Simulator/src/model/agent/humanAgent/aatom/operationalLevel/action/movement/MovementModule.java
/**
	 * Bounds the speed of a movement to a maximum of 1.5 the desired speed.
	 * 
	 * @param vector
	 *            The movement.
	 * @return The movement bounded with a maximum speed.
	 */
Bounds the speed of a movement to a maximum of 1.5 the desired speed.

@param vector
The movement.
@return The movement bounded with a maximum speed.
Bounds the speed of a movement to a maximum of 1 . 5 the desired speed . @param vector The movement . @return The movement bounded with a maximum speed .
protected Vector boundSpeed(Vector vector) {
		if (vector.length() > 1.5 * desiredSpeed)
			return vector.normalize().scalarMultiply(1.5 * desiredSpeed);
		return vector;
	}
protected Vector boundSpeed ( Vector vector ) { if ( vector . length ( ) > 1.5 * desiredSpeed ) return vector . normalize ( ) . scalarMultiply ( 1.5 * desiredSpeed ) ; return vector ; }
Bounds the speed of a movement to a maximum of 1.5 the desired speed.
Bounds the speed of a movement to a maximum of 1 . 5 the desired speed .