6.10 Generate random instances of map-coloring problems as follows: scatter n points on the unit square; select a point X at random, connect X by a straight line to the nearest point Y such that X is
Place your order today and enjoy professional academic writing services—From simple class assignments to dissertations. Give us a chance to impress you.
Order a Similar Paper
Order a Different Paper
6.10 Generate random instances of map-coloring problems as follows: scatter n points on
the unit square; select a point X at random, connect X by a straight line to the nearest point
Y such that X is not already connected to Y and the line crosses no other line; repeat the
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper Nowprevious step until no more connections are possible. The points represent regions on the
map and the lines connect neighbors. Now try to find k-colorings of each map, for both
k=3 and k =4, using min-conflicts, backtracking, backtracking with forward checking, and
backtracking with MAC. Construct a table of average run times for each algorithm for values
of n up to the largest you can manage. Comment on your results.
Notes:
- Each point represents a country.
- An edge between two points represents a border between two countries, i.e., the two points should have different colors.
- This type of graph, no crossings, is called Planar Graph.
- By the Four Color Theorem, every planar graph is four-colorable.
- It is fairly easy to determine whether a graph is 2-colorable or not.
- To determine whether a graph is 3-colorable is NP-complete.
- The objective of this exrcise to try to see if you can solve with 3 colors using CSP.
