Gravar e-mail: Multifactor task allocation problem in wireless sensor and actuator networks