Content deleted Content added
Replaced bloated sidebar with new navbox |
m →Correctness: Adjust equation formatting to avoid display issue. |
||
Line 32:
In the reweighted graph, all paths between a pair {{mvar|s}} and {{mvar|t}} of nodes have the same quantity {{math|''h''(''s'') − ''h''(''t'')}} added to them. The previous statement can be proven as follows: Let {{mvar|p}} be an {{tmath|s-t}} path. Its weight W in the reweighted graph is given by the following expression:
Every <math>+h(p_i)</math> is cancelled by <math>-h(p_i)</math> in the previous bracketed expression; therefore, we are left with the following expression for ''W'':
The bracketed expression is the weight of ''p'' in the original weighting.
|