Efficient algorithms and protocols for stability management in mobile ad hoc networks