Which algorithm is used to decide the path to transfer the packets from source to destination?

Which algorithm is used to decide the path to transfer the packets from source to destination?

A. Routing
B. Selecting
C. Pathing
D. Directing