Migration of mobile agents in ad-hoc, wireless networks