Performance analysis of the actuator discovery protocol for static and mobile sensor and actuator networks