Research Article
Diverse Mobile System for Location-Based Mobile Data
Algorithm 1
A greedy replica selection algorithm.
Input: , , , for all and | Output: | (1) begin | (2) ; | (3) while do | (4) ; | (5) ; | (6) for do | (7) ; | (8) if then | (9) ; | (10) ; | (11) if is null then | (12) break; | (13) else | (14) ; | (15) ; | (16) return . |
|