Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a algorithm question. It should explain steps readable and understandable to a human reader. Buried Treasure. You wake up at the origin of

image text in transcribed

This is a algorithm question. It should explain steps readable and understandable to a human reader.

Buried Treasure. You wake up at the origin of the Cartesian plane. Your cow snuck off in the night, taking your steel MacGuffin with it! Stop, thief! Like all cattle thieves, your cow has buried the treasure exactly six feet below the plane. Fortunately, you have a metal detector, that is sensitive enough to detect the treasure from any point in the plane whose (x,y) coordinates are within one unit of those of the treasure. A friend catches your cow and returns it to you, informing you that it was found within 10 units of the origin. Since your cow is pretty lazy, you decide that the treasure must also be within 10 units of the origin. Your mission: plan a trajectory that brings you within 1 unit of every point where the treasure might be located. Your cost = the distance you have to travel along your trajectory before you detect the treasure, plus 1 for the remaining distance to the treasure, plus 10 for the cost of digging up the MacGuffin and dragging it home. Problems: 1. Specify a deterministic trajectory, and prove an upper bound on its cost. 2. Prove a general lower bound on the worst-case cost for every deterministic trajectory. 3. For the same, or a different deterministic trajectory, prove an upper bound on its competitive ratio, compared with an omniscient trajectory. 4. Prove a general lower bound on the worst-case competitive ratio for every deterministic trajectory. Bonus: solve any of the above problems again with "randomized" in place of "deterministic." Buried Treasure. You wake up at the origin of the Cartesian plane. Your cow snuck off in the night, taking your steel MacGuffin with it! Stop, thief! Like all cattle thieves, your cow has buried the treasure exactly six feet below the plane. Fortunately, you have a metal detector, that is sensitive enough to detect the treasure from any point in the plane whose (x,y) coordinates are within one unit of those of the treasure. A friend catches your cow and returns it to you, informing you that it was found within 10 units of the origin. Since your cow is pretty lazy, you decide that the treasure must also be within 10 units of the origin. Your mission: plan a trajectory that brings you within 1 unit of every point where the treasure might be located. Your cost = the distance you have to travel along your trajectory before you detect the treasure, plus 1 for the remaining distance to the treasure, plus 10 for the cost of digging up the MacGuffin and dragging it home. Problems: 1. Specify a deterministic trajectory, and prove an upper bound on its cost. 2. Prove a general lower bound on the worst-case cost for every deterministic trajectory. 3. For the same, or a different deterministic trajectory, prove an upper bound on its competitive ratio, compared with an omniscient trajectory. 4. Prove a general lower bound on the worst-case competitive ratio for every deterministic trajectory. Bonus: solve any of the above problems again with "randomized" in place of "deterministic

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

=+1. How does traditional discipline differ from alternatives?

Answered: 1 week ago

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago

Question

Describe the functions of Human resource management

Answered: 1 week ago