Trajectory knowledge for improving topology management in mobile ad-hoc networks