6.10 USING PYTHON Generate random instances of map-coloring problems CODE as follows: scatter n points on the unit squa

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

6.10 USING PYTHON Generate random instances of map-coloring problems CODE as follows: scatter n points on the unit squa

Post by answerhappygod »

6.10 USING PYTHON Generate random instances of
map-coloring problems CODE 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
previous 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply