Routing that minimizes distance or path cost through application of an algorithm.