Performance of distributed algorithms in DTNs : Towards an analytical framework for heterogeneous mobility