Question: 1. [15 marks] This question asks you to perform competitive analysis of transpose (TR) and frequency count (FC) (i) 5 marks] Suppose that you are

 1. [15 marks] This question asks you to perform competitive analysis

1. [15 marks] This question asks you to perform competitive analysis of transpose (TR) and frequency count (FC) (i) 5 marks] Suppose that you are maintaining a list of n elements under access operation only. The cost of access to the i-th element in the list is i. Let S be a request sequence of m access operations over this list. For any sufficiently large m, construct a request sequence S such that for this request sequence, the total cost of TR divided by the total cost of MTF is w(1) (ii) [5 marks] Use the result of (i) to argue that TR is not competitive. Hint: You just have to use the definition of competitiveness. Therefore, You can solve this subquestion without having to solve (i) first i 5 marks] Further prove that FC is not competitive, either 1. [15 marks] This question asks you to perform competitive analysis of transpose (TR) and frequency count (FC) (i) 5 marks] Suppose that you are maintaining a list of n elements under access operation only. The cost of access to the i-th element in the list is i. Let S be a request sequence of m access operations over this list. For any sufficiently large m, construct a request sequence S such that for this request sequence, the total cost of TR divided by the total cost of MTF is w(1) (ii) [5 marks] Use the result of (i) to argue that TR is not competitive. Hint: You just have to use the definition of competitiveness. Therefore, You can solve this subquestion without having to solve (i) first i 5 marks] Further prove that FC is not competitive, either

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!