 Each node formula_13 has a corresponding value formula_14.The algorithm works just like Dijkstra's algorithm but differs in how the nodes' values are calculated.In Dijkstra's algorithm, a node's value is calculated using a single one of the neighboring nodes.