Edmonds Flowering algorithm

Source: Internet
Author: User


Edmonds Flowering algorithm


Input

Figure g, matched M, not saturation point u

Idea

find m-interleaved paths starting from U. record father node for each vertex 。

Discover the flowers. is shrunk.

Dimension protect S and T. S represents the set of vertices that are reached along an already saturated edge. The new vertex in the contraction process also belongs to S.

T represents the set of vertices that are reached in the current diagram along an unsaturated edge, and once an unsaturated vertex is encountered. The augmented path is obtained.

Init:

S = {u}, T =?

Iterate:

If there are no unsaturated points in S, there is no augmented path from the U start. The algorithm stops.

Otherwise, take out an unsaturated vertex v∈s and consider y in turn? The random vertex of T y∈n (v).

If Y is not saturated with M, the trace starts from Y. If necessary, the flowering, output augmentation path.

If Y∈s. Then find the flowers. Shrink the flowers and replace the corresponding vertices in S and T with the new vertices that are produced.

Start the search from a new point such as the resulting new diagram.

Otherwise. Y is matched by M to a vertex w. The Y record is reached by V and placed in T, and W is marked by Y and placed in S.

After processing all of the V neighbors, Mark V. Continue the iteration.



Edmonds Flowering algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.