Consider the DECREASE-KEY operation in a Fibonacci heap. Let us generalize the cascading-cut rule to cut...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the DECREASE-KEY operation in a Fibonacci heap. Let us generalize the cascading-cut rule to cut a node x from its parent as soon as it loses its third child (this extends the method in the lecture which cut x from its parent if it loses its second child). Let us call this a 3F heap. Assume the following fact for the 3F heap (you can prove this on your own, you do not need to submit your proof). 7 Fact. Let a be a node in a 3F heap, and let its degree be d. Let y₁, yd be the children of r in the order in which they were linked to x, from the earliest to the latest. Establish that the degree of yi is at least i - 3 for i ≥ 3. (i) (6 pts) Let x be a node of degree d in a 3F heap and let size(r) be the number of nodes in the subtree rooted at r. Establish that size(x) ≥ V(d), where V(i) satisfies the following: V(i) =i+1 for 0 ≤ i ≤ 2, and V(i) = ... V(i-1)+ V (i 3) for i≥ 3 It can be shown that the recurrence for V(i) in part (i) satisfies V(i) = (a¹), for a constant a > 1. (You can prove this by establishing by induction on i that V(i) ≥ cai-³ for a suitable constant c, but you do not need to submit this derivation.) Activate (ii) (2 pts) Establish with a proof whether or not the maximum degree of any node in anyett n-element 3F heap is O(logn). Consider the DECREASE-KEY operation in a Fibonacci heap. Let us generalize the cascading-cut rule to cut a node x from its parent as soon as it loses its third child (this extends the method in the lecture which cut x from its parent if it loses its second child). Let us call this a 3F heap. Assume the following fact for the 3F heap (you can prove this on your own, you do not need to submit your proof). 7 Fact. Let a be a node in a 3F heap, and let its degree be d. Let y₁, yd be the children of r in the order in which they were linked to x, from the earliest to the latest. Establish that the degree of yi is at least i - 3 for i ≥ 3. (i) (6 pts) Let x be a node of degree d in a 3F heap and let size(r) be the number of nodes in the subtree rooted at r. Establish that size(x) ≥ V(d), where V(i) satisfies the following: V(i) =i+1 for 0 ≤ i ≤ 2, and V(i) = ... V(i-1)+ V (i 3) for i≥ 3 It can be shown that the recurrence for V(i) in part (i) satisfies V(i) = (a¹), for a constant a > 1. (You can prove this by establishing by induction on i that V(i) ≥ cai-³ for a suitable constant c, but you do not need to submit this derivation.) Activate (ii) (2 pts) Establish with a proof whether or not the maximum degree of any node in anyett n-element 3F heap is O(logn).
Expert Answer:
Answer rating: 100% (QA)
i We will prove this by induction on d Base Case d 0 1 2 For d 0 x has no children so the claim is vacuously true For d 1 x has one child y1 By the fa... View the full answer
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The binomial tree B k is an ordered tree (see Section B.5.2) defined recursively. As shown in Figure 19.6(a), the binomial treeB 0 consists of a single node. The binomial treeB k consists of two...
-
On April 30, the end of the first month of operations, Joplin Company prepared the following income statement, based on the absorption costing concept: Joplin Company Absorption Costing Income...
-
A cylindrical component 50 mm long constructed from an S-590 alloy (Figure 8.32) is to be exposed to a tensile load of 70,000 N. What minimum diameter is required for it to experience an elongation...
-
Creations Unlimited purchased camera equipment for its photo studio on January 6, 2022, at a cost of $17,000. The equipment had a four-year useful life and an estimated salvage value of $3,000. The...
-
Two positively charged particles 1 and 2 are moving in the same plane, with the velocity of particle 1 perpendicular to the velocity of particle 2. At the instant shown in Figure P28.9, particle 2 is...
-
The production department of Zan Corporation has submitted the following forecast of units to be produced by quarter for the upcoming fiscal year: In addition, the beginning raw materials inventory...
-
6. For the given first order reaction 7. AB The half life of the reaction is 0.3010 min. The ration of the initial concentration of reactant to the concentration of reactant at time 2.0 min will be...
-
City Tours Ltd. needs to update the database on a regular basis. As a customer service manager for the company, you need to add new customers and confirmations, update basic costs, delete...
-
A vector w View the following image and answer the questions that follow. 2 D determines a point (a, b) and vice versa. Note that w will not end at the point it corresponds to, unless w is drawn...
-
In what ways do you think the actions of the accused priests impacted the community in which they served and the Church as a whole?
-
Introduction The power dynamics between food manufacturers and supermarkets often witness supermarkets potentially exploiting their suppliers. However, these manufacturers find themselves locked in...
-
(10%) Problem 3: A large room contains a volume of air V = 19 m at a temperature of T = 51 F. It also contains a bathtub holding a volume of water V, - 0.83 m at a temperature T = 118 F. A 20% Part...
-
manufacturer costs: Purchasing Handling materials Machine setups Inspections Utilities Cost Driver Orders Material moves Machine setups Number of inspections Square feet $70,000 31,333 70,500 25.500...
-
A big supplier of used cars is rental car companies, who sell their rental cars after they're too used to rent out but are still good. Rental cars are not a substitute or complement for used cars on...
-
Use the graph below to answer the following question. $4.50 4.00 S 3.50 3.00 2.50 2.00 1.50 1.00- D 0.50- 3 4 6. 7 8 10 11 12 13 14 15 Quantity (thousands of dozens per month) LO 2. Price per dozen...
-
Under what conditions is the following SQL statement valid?
-
Use a recursion tree to determine a good asymptotic upper bound on the recurrence T (n) = 3T (n/2) + n. Use the substitution method to verify your answer.
-
Let?a,?b, and?c?be arbitrary nodes in subtrees??,??, and ?, respectively, in the left tree of Figure 13.2. How do the depths of?a,?b, and?c?change when a left rotation is performed on node?x?in the...
-
Give an inductive definition for an n-tuple by extending the set-theoretic definition for an ordered pair.
-
Which of the following is a sale of goods and therefore is covered by Article 2 of the Uniform Commercial Code? A. Development, implementation, hosting, and operation of sophisticated computing...
-
When a new health club opens, the owners offer a discount to the first 100 members who enter into a five-year contract. The fee is \($2,400\) annually for the first five years, prepaid, regardless of...
-
Berkley Corp. wanted to buy 1,000 customized umbrellas imprinted with their logo to use for promotional purposes. It planned to use 250 of the umbrellas for an event scheduled for early February 2012...
Study smarter with the SolutionInn App