Routing algorithms depends on the application. In case of satellite constellation you can take advantage of the ciclic change of the topologies. In data networks, as Internet, the problem is bonded different, links can appear or disappear in any time, therefore they are not predictable. If you would know about these protocols, try to search with their names; for instance, to wired networks you have OSPF, RIP, and BGP, and for ad-hoc networks good exponents are AODV, OLSR, BATMAN.