Text this: Optimal nodes selection in wireless sensor and actor networks based on prioritized mutual exclusion approach