Research Article

Fault Activity Aware Service Delivery in Wireless Sensor Networks for Smart Cities

Algorithm 2

FA-UOFC algorithm.
,
() Update source rate: Each source node calculates the
source rate for the next period according to
Eq. (28);
() Update resource prices: Using the information of
aggregated transmission rate, link computes a new sole
contention price according to Eq. (25) and
node computes a new energy price according to
Eq. (26);
() Deliver information towards the sink: Sensor node
adapts the contention price and the energy
price along the path, and propagates towards the
sink;
() Feedback message from the sink: The sink feedbacks
the FA parameter and the aggregated resource price to
the source via the reverse path.