Traffic Lights, Graph Theory Problems…

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












enter image description here



Now, for starters, I feel that this picture must be represented Graphically and the solution does show a Graph, which is given below



And the rationale behind this graph is enter image description here



But I am unable to understand this explanation. Could someone please explain this by perhaps giving an example?



Edit:



What is the equivalent graph of this figure?enter image description here










share|cite|improve this question























  • What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
    – Fabio Somenzi
    May 31 '17 at 15:19










  • I would like to know how the graph is built....
    – Hello_World
    May 31 '17 at 15:55










  • That isn't very specific, is it? Have you read the answer by @Evargalo?
    – Fabio Somenzi
    May 31 '17 at 15:59














up vote
1
down vote

favorite












enter image description here



Now, for starters, I feel that this picture must be represented Graphically and the solution does show a Graph, which is given below



And the rationale behind this graph is enter image description here



But I am unable to understand this explanation. Could someone please explain this by perhaps giving an example?



Edit:



What is the equivalent graph of this figure?enter image description here










share|cite|improve this question























  • What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
    – Fabio Somenzi
    May 31 '17 at 15:19










  • I would like to know how the graph is built....
    – Hello_World
    May 31 '17 at 15:55










  • That isn't very specific, is it? Have you read the answer by @Evargalo?
    – Fabio Somenzi
    May 31 '17 at 15:59












up vote
1
down vote

favorite









up vote
1
down vote

favorite











enter image description here



Now, for starters, I feel that this picture must be represented Graphically and the solution does show a Graph, which is given below



And the rationale behind this graph is enter image description here



But I am unable to understand this explanation. Could someone please explain this by perhaps giving an example?



Edit:



What is the equivalent graph of this figure?enter image description here










share|cite|improve this question















enter image description here



Now, for starters, I feel that this picture must be represented Graphically and the solution does show a Graph, which is given below



And the rationale behind this graph is enter image description here



But I am unable to understand this explanation. Could someone please explain this by perhaps giving an example?



Edit:



What is the equivalent graph of this figure?enter image description here







graph-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 31 '17 at 17:05

























asked May 31 '17 at 14:59









Hello_World

3,37821429




3,37821429











  • What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
    – Fabio Somenzi
    May 31 '17 at 15:19










  • I would like to know how the graph is built....
    – Hello_World
    May 31 '17 at 15:55










  • That isn't very specific, is it? Have you read the answer by @Evargalo?
    – Fabio Somenzi
    May 31 '17 at 15:59
















  • What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
    – Fabio Somenzi
    May 31 '17 at 15:19










  • I would like to know how the graph is built....
    – Hello_World
    May 31 '17 at 15:55










  • That isn't very specific, is it? Have you read the answer by @Evargalo?
    – Fabio Somenzi
    May 31 '17 at 15:59















What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
– Fabio Somenzi
May 31 '17 at 15:19




What part of the explanation is unclear to you? The more specific you are, the more likely it is you'll get the clarification you seek.
– Fabio Somenzi
May 31 '17 at 15:19












I would like to know how the graph is built....
– Hello_World
May 31 '17 at 15:55




I would like to know how the graph is built....
– Hello_World
May 31 '17 at 15:55












That isn't very specific, is it? Have you read the answer by @Evargalo?
– Fabio Somenzi
May 31 '17 at 15:59




That isn't very specific, is it? Have you read the answer by @Evargalo?
– Fabio Somenzi
May 31 '17 at 15:59










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Answering the edit:



In the graph associated to your second example of intersection:



It has 8 vertices (L1 to L8)



Its edges are:
(listing only the links that have not already been mentioned)



  • L1 is connected to L3, L4, L6, L7, L8


  • L2 is connected to L3, L4, L5, L7, L8


  • L3 is connected to L5, L6, L8


  • L4 is connected to L5, L6, L7


  • L5 is connected to L7, L8


  • L6 is connected to L7, L8






share|cite|improve this answer



























    up vote
    2
    down vote













    Not sure what part it exactly is you didn't understand:



    • how the graph is built:

    Each vertex represents a traffic lane. Since you will get an accident if cars from lanes $L_1$ and $L_2$ have green lights at the same time, you draw an edge between $L_1$ and $L_2$ on the graph. Proceed in the same way for each couple of vertices, and all constraints are summed up in the given graph.



    • how the solution works:

    From the graph, you need do find a coloration: assign a group to each vertex so that vertices in the same group can have green lights at the same time, i.e. there is no edge between two vertices in the same group.
    You need at least three groups since $L_2$, $L_4$ and $L_6$ are all connected. The coloration shown solves the problem and has only three groups, so it is minimal.






    share|cite|improve this answer




















    • please see the edit.....
      – Hello_World
      May 31 '17 at 16:42










    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2304264%2ftraffic-lights-graph-theory-problems%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Answering the edit:



    In the graph associated to your second example of intersection:



    It has 8 vertices (L1 to L8)



    Its edges are:
    (listing only the links that have not already been mentioned)



    • L1 is connected to L3, L4, L6, L7, L8


    • L2 is connected to L3, L4, L5, L7, L8


    • L3 is connected to L5, L6, L8


    • L4 is connected to L5, L6, L7


    • L5 is connected to L7, L8


    • L6 is connected to L7, L8






    share|cite|improve this answer
























      up vote
      1
      down vote



      accepted










      Answering the edit:



      In the graph associated to your second example of intersection:



      It has 8 vertices (L1 to L8)



      Its edges are:
      (listing only the links that have not already been mentioned)



      • L1 is connected to L3, L4, L6, L7, L8


      • L2 is connected to L3, L4, L5, L7, L8


      • L3 is connected to L5, L6, L8


      • L4 is connected to L5, L6, L7


      • L5 is connected to L7, L8


      • L6 is connected to L7, L8






      share|cite|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Answering the edit:



        In the graph associated to your second example of intersection:



        It has 8 vertices (L1 to L8)



        Its edges are:
        (listing only the links that have not already been mentioned)



        • L1 is connected to L3, L4, L6, L7, L8


        • L2 is connected to L3, L4, L5, L7, L8


        • L3 is connected to L5, L6, L8


        • L4 is connected to L5, L6, L7


        • L5 is connected to L7, L8


        • L6 is connected to L7, L8






        share|cite|improve this answer












        Answering the edit:



        In the graph associated to your second example of intersection:



        It has 8 vertices (L1 to L8)



        Its edges are:
        (listing only the links that have not already been mentioned)



        • L1 is connected to L3, L4, L6, L7, L8


        • L2 is connected to L3, L4, L5, L7, L8


        • L3 is connected to L5, L6, L8


        • L4 is connected to L5, L6, L7


        • L5 is connected to L7, L8


        • L6 is connected to L7, L8







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jun 9 '17 at 9:03









        Evargalo

        2,30218




        2,30218




















            up vote
            2
            down vote













            Not sure what part it exactly is you didn't understand:



            • how the graph is built:

            Each vertex represents a traffic lane. Since you will get an accident if cars from lanes $L_1$ and $L_2$ have green lights at the same time, you draw an edge between $L_1$ and $L_2$ on the graph. Proceed in the same way for each couple of vertices, and all constraints are summed up in the given graph.



            • how the solution works:

            From the graph, you need do find a coloration: assign a group to each vertex so that vertices in the same group can have green lights at the same time, i.e. there is no edge between two vertices in the same group.
            You need at least three groups since $L_2$, $L_4$ and $L_6$ are all connected. The coloration shown solves the problem and has only three groups, so it is minimal.






            share|cite|improve this answer




















            • please see the edit.....
              – Hello_World
              May 31 '17 at 16:42














            up vote
            2
            down vote













            Not sure what part it exactly is you didn't understand:



            • how the graph is built:

            Each vertex represents a traffic lane. Since you will get an accident if cars from lanes $L_1$ and $L_2$ have green lights at the same time, you draw an edge between $L_1$ and $L_2$ on the graph. Proceed in the same way for each couple of vertices, and all constraints are summed up in the given graph.



            • how the solution works:

            From the graph, you need do find a coloration: assign a group to each vertex so that vertices in the same group can have green lights at the same time, i.e. there is no edge between two vertices in the same group.
            You need at least three groups since $L_2$, $L_4$ and $L_6$ are all connected. The coloration shown solves the problem and has only three groups, so it is minimal.






            share|cite|improve this answer




















            • please see the edit.....
              – Hello_World
              May 31 '17 at 16:42












            up vote
            2
            down vote










            up vote
            2
            down vote









            Not sure what part it exactly is you didn't understand:



            • how the graph is built:

            Each vertex represents a traffic lane. Since you will get an accident if cars from lanes $L_1$ and $L_2$ have green lights at the same time, you draw an edge between $L_1$ and $L_2$ on the graph. Proceed in the same way for each couple of vertices, and all constraints are summed up in the given graph.



            • how the solution works:

            From the graph, you need do find a coloration: assign a group to each vertex so that vertices in the same group can have green lights at the same time, i.e. there is no edge between two vertices in the same group.
            You need at least three groups since $L_2$, $L_4$ and $L_6$ are all connected. The coloration shown solves the problem and has only three groups, so it is minimal.






            share|cite|improve this answer












            Not sure what part it exactly is you didn't understand:



            • how the graph is built:

            Each vertex represents a traffic lane. Since you will get an accident if cars from lanes $L_1$ and $L_2$ have green lights at the same time, you draw an edge between $L_1$ and $L_2$ on the graph. Proceed in the same way for each couple of vertices, and all constraints are summed up in the given graph.



            • how the solution works:

            From the graph, you need do find a coloration: assign a group to each vertex so that vertices in the same group can have green lights at the same time, i.e. there is no edge between two vertices in the same group.
            You need at least three groups since $L_2$, $L_4$ and $L_6$ are all connected. The coloration shown solves the problem and has only three groups, so it is minimal.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered May 31 '17 at 15:21









            Evargalo

            2,30218




            2,30218











            • please see the edit.....
              – Hello_World
              May 31 '17 at 16:42
















            • please see the edit.....
              – Hello_World
              May 31 '17 at 16:42















            please see the edit.....
            – Hello_World
            May 31 '17 at 16:42




            please see the edit.....
            – Hello_World
            May 31 '17 at 16:42

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2304264%2ftraffic-lights-graph-theory-problems%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Mutual Information Always Non-negative

            Why am i infinitely getting the same tweet with the Twitter Search API?