Easy instances of the coloring problem on graphs with degree at most 4












2












$begingroup$


Given a graph with some set of colors, the goal of the coloring problem is to color the input graph with as few number of colors as possible, such that no adjacent vertices have the same color.



In general, the problem is hard. For trees and cycles, the problem is solvable in polynomial time. I am interested in bounded degree instances or more precisely graphs of degree at most 4. Is there any non-trivial subclass of graphs of degree at most 4 for which the coloring problem is solvable in polynomial time?










share|cite|improve this question











$endgroup$

















    2












    $begingroup$


    Given a graph with some set of colors, the goal of the coloring problem is to color the input graph with as few number of colors as possible, such that no adjacent vertices have the same color.



    In general, the problem is hard. For trees and cycles, the problem is solvable in polynomial time. I am interested in bounded degree instances or more precisely graphs of degree at most 4. Is there any non-trivial subclass of graphs of degree at most 4 for which the coloring problem is solvable in polynomial time?










    share|cite|improve this question











    $endgroup$















      2












      2








      2


      2



      $begingroup$


      Given a graph with some set of colors, the goal of the coloring problem is to color the input graph with as few number of colors as possible, such that no adjacent vertices have the same color.



      In general, the problem is hard. For trees and cycles, the problem is solvable in polynomial time. I am interested in bounded degree instances or more precisely graphs of degree at most 4. Is there any non-trivial subclass of graphs of degree at most 4 for which the coloring problem is solvable in polynomial time?










      share|cite|improve this question











      $endgroup$




      Given a graph with some set of colors, the goal of the coloring problem is to color the input graph with as few number of colors as possible, such that no adjacent vertices have the same color.



      In general, the problem is hard. For trees and cycles, the problem is solvable in polynomial time. I am interested in bounded degree instances or more precisely graphs of degree at most 4. Is there any non-trivial subclass of graphs of degree at most 4 for which the coloring problem is solvable in polynomial time?







      complexity-theory graphs colorings






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 20 hours ago









      Discrete lizard

      4,21411535




      4,21411535










      asked 22 hours ago









      I_wil_break_wallI_wil_break_wall

      995




      995






















          2 Answers
          2






          active

          oldest

          votes


















          4












          $begingroup$

          You can of course take any graph class for which coloring is easy, and additionally require that the maximum degree is at most 4. For example, every bipartite graph of maximum degree at most 4 works. Or "bipartite" could be replaced with say "outerplanar" or more generally "small cliquewidth".



          But having maximum degree at most 4 alone will not work. That is, coloring remains hard for (i) 4-regular graphs and (ii) planar graphs of maximum degree 4.






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            As the other answer states, any class that is already easy to color can obviously be additionally restricted to bounded-degree graphs. But if you are looking for restrictions that only yield easily colored graphs in combination with the bounded-degree restriction, that also works.



            For example: We know that graphs with bounded degree $d$ can be greedily colored with $d+1$ colors. But that by itself isn't optimal, since there are graphs in that class that can be colored with even fewer colors.



            One way to fix that is by only considering the subclass of bounded-degree graphs that also need at least $d+1$ colors, ensuring that the greedy coloring is also the optimal one. So for example, the subclass of graphs of degree 4 that contain a 5-clique.



            (Edit: There's also something called Brooks' theorem, which says that unless the graph really does contain such a 5-clique, it will actually be 4-colorable. But I can't see if it also says that this coloring can be found in polynomial time.)






            share|cite|improve this answer










            New contributor




            Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$













              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: "419"
              };
              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f104496%2feasy-instances-of-the-coloring-problem-on-graphs-with-degree-at-most-4%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4












              $begingroup$

              You can of course take any graph class for which coloring is easy, and additionally require that the maximum degree is at most 4. For example, every bipartite graph of maximum degree at most 4 works. Or "bipartite" could be replaced with say "outerplanar" or more generally "small cliquewidth".



              But having maximum degree at most 4 alone will not work. That is, coloring remains hard for (i) 4-regular graphs and (ii) planar graphs of maximum degree 4.






              share|cite|improve this answer









              $endgroup$


















                4












                $begingroup$

                You can of course take any graph class for which coloring is easy, and additionally require that the maximum degree is at most 4. For example, every bipartite graph of maximum degree at most 4 works. Or "bipartite" could be replaced with say "outerplanar" or more generally "small cliquewidth".



                But having maximum degree at most 4 alone will not work. That is, coloring remains hard for (i) 4-regular graphs and (ii) planar graphs of maximum degree 4.






                share|cite|improve this answer









                $endgroup$
















                  4












                  4








                  4





                  $begingroup$

                  You can of course take any graph class for which coloring is easy, and additionally require that the maximum degree is at most 4. For example, every bipartite graph of maximum degree at most 4 works. Or "bipartite" could be replaced with say "outerplanar" or more generally "small cliquewidth".



                  But having maximum degree at most 4 alone will not work. That is, coloring remains hard for (i) 4-regular graphs and (ii) planar graphs of maximum degree 4.






                  share|cite|improve this answer









                  $endgroup$



                  You can of course take any graph class for which coloring is easy, and additionally require that the maximum degree is at most 4. For example, every bipartite graph of maximum degree at most 4 works. Or "bipartite" could be replaced with say "outerplanar" or more generally "small cliquewidth".



                  But having maximum degree at most 4 alone will not work. That is, coloring remains hard for (i) 4-regular graphs and (ii) planar graphs of maximum degree 4.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 21 hours ago









                  JuhoJuho

                  15.4k54191




                  15.4k54191























                      2












                      $begingroup$

                      As the other answer states, any class that is already easy to color can obviously be additionally restricted to bounded-degree graphs. But if you are looking for restrictions that only yield easily colored graphs in combination with the bounded-degree restriction, that also works.



                      For example: We know that graphs with bounded degree $d$ can be greedily colored with $d+1$ colors. But that by itself isn't optimal, since there are graphs in that class that can be colored with even fewer colors.



                      One way to fix that is by only considering the subclass of bounded-degree graphs that also need at least $d+1$ colors, ensuring that the greedy coloring is also the optimal one. So for example, the subclass of graphs of degree 4 that contain a 5-clique.



                      (Edit: There's also something called Brooks' theorem, which says that unless the graph really does contain such a 5-clique, it will actually be 4-colorable. But I can't see if it also says that this coloring can be found in polynomial time.)






                      share|cite|improve this answer










                      New contributor




                      Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.






                      $endgroup$


















                        2












                        $begingroup$

                        As the other answer states, any class that is already easy to color can obviously be additionally restricted to bounded-degree graphs. But if you are looking for restrictions that only yield easily colored graphs in combination with the bounded-degree restriction, that also works.



                        For example: We know that graphs with bounded degree $d$ can be greedily colored with $d+1$ colors. But that by itself isn't optimal, since there are graphs in that class that can be colored with even fewer colors.



                        One way to fix that is by only considering the subclass of bounded-degree graphs that also need at least $d+1$ colors, ensuring that the greedy coloring is also the optimal one. So for example, the subclass of graphs of degree 4 that contain a 5-clique.



                        (Edit: There's also something called Brooks' theorem, which says that unless the graph really does contain such a 5-clique, it will actually be 4-colorable. But I can't see if it also says that this coloring can be found in polynomial time.)






                        share|cite|improve this answer










                        New contributor




                        Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






                        $endgroup$
















                          2












                          2








                          2





                          $begingroup$

                          As the other answer states, any class that is already easy to color can obviously be additionally restricted to bounded-degree graphs. But if you are looking for restrictions that only yield easily colored graphs in combination with the bounded-degree restriction, that also works.



                          For example: We know that graphs with bounded degree $d$ can be greedily colored with $d+1$ colors. But that by itself isn't optimal, since there are graphs in that class that can be colored with even fewer colors.



                          One way to fix that is by only considering the subclass of bounded-degree graphs that also need at least $d+1$ colors, ensuring that the greedy coloring is also the optimal one. So for example, the subclass of graphs of degree 4 that contain a 5-clique.



                          (Edit: There's also something called Brooks' theorem, which says that unless the graph really does contain such a 5-clique, it will actually be 4-colorable. But I can't see if it also says that this coloring can be found in polynomial time.)






                          share|cite|improve this answer










                          New contributor




                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          $endgroup$



                          As the other answer states, any class that is already easy to color can obviously be additionally restricted to bounded-degree graphs. But if you are looking for restrictions that only yield easily colored graphs in combination with the bounded-degree restriction, that also works.



                          For example: We know that graphs with bounded degree $d$ can be greedily colored with $d+1$ colors. But that by itself isn't optimal, since there are graphs in that class that can be colored with even fewer colors.



                          One way to fix that is by only considering the subclass of bounded-degree graphs that also need at least $d+1$ colors, ensuring that the greedy coloring is also the optimal one. So for example, the subclass of graphs of degree 4 that contain a 5-clique.



                          (Edit: There's also something called Brooks' theorem, which says that unless the graph really does contain such a 5-clique, it will actually be 4-colorable. But I can't see if it also says that this coloring can be found in polynomial time.)







                          share|cite|improve this answer










                          New contributor




                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|cite|improve this answer



                          share|cite|improve this answer








                          edited 14 hours ago





















                          New contributor




                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 17 hours ago









                          Christoph BurschkaChristoph Burschka

                          1214




                          1214




                          New contributor




                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Christoph Burschka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Computer Science Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f104496%2feasy-instances-of-the-coloring-problem-on-graphs-with-degree-at-most-4%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to label and detect the document text images

                              Tabula Rosettana

                              Aureus (color)