The shortest-path computation is performed by feeding each link data through the pipeline. The Bellman–Ford algorithm described in the next section involves an iterative process where the statuses of all the nodes in the graph are updated during each iteration.