Content deleted Content added
→Concepts: reduce verbosity |
|||
Line 32:
::{{nowrap|''h''(''u'') ≤ ''h''(''v'') + 1 ∀(''u'', ''v'') ∈ ''E<sub>f</sub>''}}
The heights of ''s'' and ''t'' are fixed at {{nowrap|{{!}}''V''{{!}}}} and 0, respectively. {{nowrap|''h''(''u'')}} is a lower bound of the unweighted distance from ''u'' to ''t'' in {{nowrap|''G<sub>f</sub>''}} if ''t'' is reachable from ''u''. If ''u'' has been disconnected from ''t'', then {{nowrap|''h''(''u'') − {{!}}''V''{{!}}}} is a lower bound of the unweighted distance from ''u'' to ''s''. As a result, if a valid height function exists, there are no ''s''-''t'' paths in {{nowrap|''G<sub>f</sub>''}} because no such paths can be longer than {{nowrap|({{!}}''V''{{!}} − 1)}}.
===Operations===
|