Research Article

Alternative Tuples Based Probabilistic Skyline Query Processing in Wireless Sensor Networks

Algorithm 2

Query processing on base station.
// input: The message set of child node , the threshold value .
// output: The data set which will be submitted to the parent node
For  each element in   Do
;
;
end  For
For  each element in   Do
;
; // get the number of
; // and all dominate
For  each in   Do
  calculate ;
 end  For
If    Then
  ;    // delete ID and RD from CD set
 end  If
end  For
return ;