Euler circuit of the euro-pull circuit and mixed graph

Source: Internet
Author: User

Euler circuit

From one point onwards, the edges of the graph pass through once, then back to the starting point, so that the path is the Euler loop.

It's a Euro-pull loop.

Euler Loop Determination

But what kind of diagram is there in the euro-pull circuit?

Euler loops are divided into both the graph and the non-graphic two types:

    1. The direction graph: a little in the figure is equal to the degree of the degree
    2. No map: The number of degrees in a graph is even

That's a good idea, but you might want to ask, how do you know if there's a euro-loop in a hybrid diagram?

Euler Circuit of mixed graphs

Process:

    1. The non-directed edges are arbitrarily oriented first
    2. Determine the degree and the degree of each point is not the same parity, the difference is no solution
    3. A point with a super origin that is less than the degree of the entry is connected to the side of a capacity of \ ({| degrees-out | \over 2}\)
      A point with a super-sink point that is greater than the degree of penetration, with a capacity of ({| In-degrees-out | \over 2}\) side
    4. Connect another direction edge of the original without an edge to the diagram with a capacity of 1
    5. Run the maximum flow, determine whether the side with S is full flow, the full flow has a solution

PS: In fact, it is very good to understand, in fact, the original direction of non-directional adjustment, so that each point into the degree is equal to the degree. Each point needs to be adjusted ({| In degrees-out of | \over 2}\) times, so the capacity of the edge is \ ({| In-out | \over 2}\).
As we flow through an edge, the two-side capacity is reduced by one, which is equivalent to the process of adjusting the edge.

Euler circuit of the euro-pull circuit and mixed graph

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.