How can this map be coloured using four colours?Four color theorem disproof?Did the Appel/Haken graph colouring (four colour map) proof really not contribute to understanding?Modeling a (rather silly) magnet problem using graphsWhy is TSP in NP?

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

Does the "6 seconds per round" rule apply to speaking/roleplaying during combat situations?

Why don't B747s start takeoffs with full throttle?

On the Twin Paradox Again

How can drunken, homicidal elves successfully conduct a wild hunt?

Pronoun introduced before its antecedent

Should I "tell" my exposition or give it through dialogue?

Why doesn't my simple mesh wall "difference boolean cut" the door away?

Implement Homestuck's Catenative Doomsday Dice Cascader

How can I instantiate a lambda closure type in C++11/14?

Company did not petition for visa in a timely manner. Is asking me to work from overseas, but wants me to take a paycut

What do we gain with higher order logics?

What can plausibly explain many of my very long and low-tech bridges?

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

How is it possible that Gollum speaks Westron?

How to skip replacing first occurrence of a character in each line?

In this example, which path would a monster affected by the Dissonant Whispers spell take?

Importance sampling estimation of power function

What is the right way to float a home lab?

What is the purpose of building foundations?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

What is in `tex.print` or `tex.sprint`?

Java guess the number

How do I write "Show, Don't Tell" as an Asperger?



How can this map be coloured using four colours?


Four color theorem disproof?Did the Appel/Haken graph colouring (four colour map) proof really not contribute to understanding?Modeling a (rather silly) magnet problem using graphsWhy is TSP in NP?













2












$begingroup$


I'm working on an algorithm to colour a map drawn in an editor using 4 colours, as a visual demonstration of the four colour theorem. However, my (imperfect) algorithm was able to colour all maps except this one, which after giving it a go myself I struggled to do. I was also unable to collapse it into an 'untangled' graph, so it's possible there's some illegality about it I've not fully understood (or I'm just bad at graph theory). I'd appreciate any help with solving this, and if possible an explanation of/link to a good algorithm to go about solving problems of this style.



Here's the map:



The map










share|cite|improve this question











$endgroup$











  • $begingroup$
    It is similar to this post.
    $endgroup$
    – Dietrich Burde
    8 hours ago










  • $begingroup$
    @DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
    $endgroup$
    – Geza Kerecsenyi
    8 hours ago






  • 1




    $begingroup$
    It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
    $endgroup$
    – Morgan Rodgers
    8 hours ago







  • 1




    $begingroup$
    Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
    $endgroup$
    – Rahul
    7 hours ago











  • $begingroup$
    @Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
    $endgroup$
    – Fabio Somenzi
    7 hours ago















2












$begingroup$


I'm working on an algorithm to colour a map drawn in an editor using 4 colours, as a visual demonstration of the four colour theorem. However, my (imperfect) algorithm was able to colour all maps except this one, which after giving it a go myself I struggled to do. I was also unable to collapse it into an 'untangled' graph, so it's possible there's some illegality about it I've not fully understood (or I'm just bad at graph theory). I'd appreciate any help with solving this, and if possible an explanation of/link to a good algorithm to go about solving problems of this style.



Here's the map:



The map










share|cite|improve this question











$endgroup$











  • $begingroup$
    It is similar to this post.
    $endgroup$
    – Dietrich Burde
    8 hours ago










  • $begingroup$
    @DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
    $endgroup$
    – Geza Kerecsenyi
    8 hours ago






  • 1




    $begingroup$
    It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
    $endgroup$
    – Morgan Rodgers
    8 hours ago







  • 1




    $begingroup$
    Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
    $endgroup$
    – Rahul
    7 hours ago











  • $begingroup$
    @Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
    $endgroup$
    – Fabio Somenzi
    7 hours ago













2












2








2





$begingroup$


I'm working on an algorithm to colour a map drawn in an editor using 4 colours, as a visual demonstration of the four colour theorem. However, my (imperfect) algorithm was able to colour all maps except this one, which after giving it a go myself I struggled to do. I was also unable to collapse it into an 'untangled' graph, so it's possible there's some illegality about it I've not fully understood (or I'm just bad at graph theory). I'd appreciate any help with solving this, and if possible an explanation of/link to a good algorithm to go about solving problems of this style.



Here's the map:



The map










share|cite|improve this question











$endgroup$




I'm working on an algorithm to colour a map drawn in an editor using 4 colours, as a visual demonstration of the four colour theorem. However, my (imperfect) algorithm was able to colour all maps except this one, which after giving it a go myself I struggled to do. I was also unable to collapse it into an 'untangled' graph, so it's possible there's some illegality about it I've not fully understood (or I'm just bad at graph theory). I'd appreciate any help with solving this, and if possible an explanation of/link to a good algorithm to go about solving problems of this style.



Here's the map:



The map







graph-theory coloring






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 8 hours ago









Morgan Rodgers

10.3k31541




10.3k31541










asked 8 hours ago









Geza KerecsenyiGeza Kerecsenyi

1386




1386











  • $begingroup$
    It is similar to this post.
    $endgroup$
    – Dietrich Burde
    8 hours ago










  • $begingroup$
    @DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
    $endgroup$
    – Geza Kerecsenyi
    8 hours ago






  • 1




    $begingroup$
    It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
    $endgroup$
    – Morgan Rodgers
    8 hours ago







  • 1




    $begingroup$
    Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
    $endgroup$
    – Rahul
    7 hours ago











  • $begingroup$
    @Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
    $endgroup$
    – Fabio Somenzi
    7 hours ago
















  • $begingroup$
    It is similar to this post.
    $endgroup$
    – Dietrich Burde
    8 hours ago










  • $begingroup$
    @DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
    $endgroup$
    – Geza Kerecsenyi
    8 hours ago






  • 1




    $begingroup$
    It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
    $endgroup$
    – Morgan Rodgers
    8 hours ago







  • 1




    $begingroup$
    Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
    $endgroup$
    – Rahul
    7 hours ago











  • $begingroup$
    @Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
    $endgroup$
    – Fabio Somenzi
    7 hours ago















$begingroup$
It is similar to this post.
$endgroup$
– Dietrich Burde
8 hours ago




$begingroup$
It is similar to this post.
$endgroup$
– Dietrich Burde
8 hours ago












$begingroup$
@DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
$endgroup$
– Geza Kerecsenyi
8 hours ago




$begingroup$
@DietrichBurde If you mean that as in that the graphs are similar for both, could you please write an answer explaining that? I'm pretty weak at graph theory, so I can't figure that out myself (despite trying (and failing))
$endgroup$
– Geza Kerecsenyi
8 hours ago




1




1




$begingroup$
It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
$endgroup$
– Morgan Rodgers
8 hours ago





$begingroup$
It would be helpful if you described your algorithm. I think this is a nice contrast to the other question, because it is asking for how to color (i.e. method) rather than just asking for a coloring.
$endgroup$
– Morgan Rodgers
8 hours ago





1




1




$begingroup$
Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
$endgroup$
– Rahul
7 hours ago





$begingroup$
Re. how to colour: Algorithms that always find a 4-colouring for any planar graph are very complicated. If a simple algorithm existed, it's unlikely that the 4-colour theorem would have taken so long to prove. However, you may get good results on many not-too-complicated graphs by using greedy colouring with a decent ordering heuristic, like smallest degree last or Brélaz's adaptive ordering (see "Degenerate" and "Adaptive" under "Choice of ordering").
$endgroup$
– Rahul
7 hours ago













$begingroup$
@Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
$endgroup$
– Fabio Somenzi
7 hours ago




$begingroup$
@Rahul You can use backtracking search. It may run in worst-case exponential time, but it's not very complicated.
$endgroup$
– Fabio Somenzi
7 hours ago










2 Answers
2






active

oldest

votes


















3












$begingroup$

The map you have given can be simplified considerably by deleting some of the regions. If you have a region which is adjacent to $1, 2$ or $3$ other regions, you can simply delete it, or amalgamate it into some adjoining region, because when you colour the rest and put the region back, there will be a colour you can use.



The map you have looks complicated, but I can spot five regions you can simply delete in this example. And once you have deleted those you can possibly iterate the process.



That gives a rather simpler map to colour.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
    $endgroup$
    – Geza Kerecsenyi
    7 hours ago



















7












$begingroup$

4 colored map



This is a possible coloring. Done by hand, either really lucky or not that difficult. Perhaps it'll help with debug of the algorithm and shows that this map is definitely legal.






share|cite|improve this answer









$endgroup$








  • 2




    $begingroup$
    I also got a (different) coloring by hand within a minute. Why the downvote?
    $endgroup$
    – Fabio Somenzi
    8 hours ago












Your Answer








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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
,
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%2f3247841%2fhow-can-this-map-be-coloured-using-four-colours%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









3












$begingroup$

The map you have given can be simplified considerably by deleting some of the regions. If you have a region which is adjacent to $1, 2$ or $3$ other regions, you can simply delete it, or amalgamate it into some adjoining region, because when you colour the rest and put the region back, there will be a colour you can use.



The map you have looks complicated, but I can spot five regions you can simply delete in this example. And once you have deleted those you can possibly iterate the process.



That gives a rather simpler map to colour.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
    $endgroup$
    – Geza Kerecsenyi
    7 hours ago
















3












$begingroup$

The map you have given can be simplified considerably by deleting some of the regions. If you have a region which is adjacent to $1, 2$ or $3$ other regions, you can simply delete it, or amalgamate it into some adjoining region, because when you colour the rest and put the region back, there will be a colour you can use.



The map you have looks complicated, but I can spot five regions you can simply delete in this example. And once you have deleted those you can possibly iterate the process.



That gives a rather simpler map to colour.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
    $endgroup$
    – Geza Kerecsenyi
    7 hours ago














3












3








3





$begingroup$

The map you have given can be simplified considerably by deleting some of the regions. If you have a region which is adjacent to $1, 2$ or $3$ other regions, you can simply delete it, or amalgamate it into some adjoining region, because when you colour the rest and put the region back, there will be a colour you can use.



The map you have looks complicated, but I can spot five regions you can simply delete in this example. And once you have deleted those you can possibly iterate the process.



That gives a rather simpler map to colour.






share|cite|improve this answer









$endgroup$



The map you have given can be simplified considerably by deleting some of the regions. If you have a region which is adjacent to $1, 2$ or $3$ other regions, you can simply delete it, or amalgamate it into some adjoining region, because when you colour the rest and put the region back, there will be a colour you can use.



The map you have looks complicated, but I can spot five regions you can simply delete in this example. And once you have deleted those you can possibly iterate the process.



That gives a rather simpler map to colour.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 7 hours ago









Mark BennetMark Bennet

83.9k990186




83.9k990186











  • $begingroup$
    Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
    $endgroup$
    – Geza Kerecsenyi
    7 hours ago

















  • $begingroup$
    Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
    $endgroup$
    – Geza Kerecsenyi
    7 hours ago
















$begingroup$
Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
$endgroup$
– Geza Kerecsenyi
7 hours ago





$begingroup$
Thanks for the explanation! I've marked you as answer, as upon knowing this, I was able to essentially half the time complexity of my algorithm.
$endgroup$
– Geza Kerecsenyi
7 hours ago












7












$begingroup$

4 colored map



This is a possible coloring. Done by hand, either really lucky or not that difficult. Perhaps it'll help with debug of the algorithm and shows that this map is definitely legal.






share|cite|improve this answer









$endgroup$








  • 2




    $begingroup$
    I also got a (different) coloring by hand within a minute. Why the downvote?
    $endgroup$
    – Fabio Somenzi
    8 hours ago
















7












$begingroup$

4 colored map



This is a possible coloring. Done by hand, either really lucky or not that difficult. Perhaps it'll help with debug of the algorithm and shows that this map is definitely legal.






share|cite|improve this answer









$endgroup$








  • 2




    $begingroup$
    I also got a (different) coloring by hand within a minute. Why the downvote?
    $endgroup$
    – Fabio Somenzi
    8 hours ago














7












7








7





$begingroup$

4 colored map



This is a possible coloring. Done by hand, either really lucky or not that difficult. Perhaps it'll help with debug of the algorithm and shows that this map is definitely legal.






share|cite|improve this answer









$endgroup$



4 colored map



This is a possible coloring. Done by hand, either really lucky or not that difficult. Perhaps it'll help with debug of the algorithm and shows that this map is definitely legal.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 8 hours ago









RadostRadost

1,05915




1,05915







  • 2




    $begingroup$
    I also got a (different) coloring by hand within a minute. Why the downvote?
    $endgroup$
    – Fabio Somenzi
    8 hours ago













  • 2




    $begingroup$
    I also got a (different) coloring by hand within a minute. Why the downvote?
    $endgroup$
    – Fabio Somenzi
    8 hours ago








2




2




$begingroup$
I also got a (different) coloring by hand within a minute. Why the downvote?
$endgroup$
– Fabio Somenzi
8 hours ago





$begingroup$
I also got a (different) coloring by hand within a minute. Why the downvote?
$endgroup$
– Fabio Somenzi
8 hours ago


















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematics 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%2fmath.stackexchange.com%2fquestions%2f3247841%2fhow-can-this-map-be-coloured-using-four-colours%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

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її