Suppose that at some point in the execution of a push-relabel algorithm, there exists an integer 0

Question:

Suppose that at some point in the execution of a push-relabel algorithm, there exists an integer 0 < k ≤ |V| − 1 for which no vertex has ν.h = k. Show that all vertices with ν.h > k are on the source side of a minimum cut. If such a k exists, the gap heuristic updates every vertex ν ∈ V – {s} for which ν.h > k, to set ν.h = max(ν.h, |V| + 1). Show that the resulting attribute h is a height function. (The gap heuristic is crucial in making implementations of the push-relabel method perform well in practice.)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Introduction to Algorithms

ISBN: 978-0262033848

3rd edition

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

Question Posted: