Research Article

Model-Checking Driven Design of QoS-Based Routing Protocol for Wireless Sensor Networks

Pseudocode 1

Model-checking driven design process.
Input the network (), QoS metrics ()
Design QoSRP: the prototype of the QoS − based routing protocol with the metric
while () do
 Model QoSRP using Timed Automata
 Verify QoSRP via Model Checking and Output the verification results
 Evaluate the verification results and improve QoSRP
 if ()
  Redesign QoSRP with the metrics
 endif
endwhile
Output QoSRP