1 / 1

CUu = b (worst case) b/2 (average case). CUn = b CUr = b CUpu = b CUps = b log (b) + b

All Equations for Cost Estimation. CUu = b (worst case) b/2 (average case). CUn = b CUr = b CUpu = b CUps = b log (b) + b CSu = log(b) CSn = log(b) + é s/bf ù - 1 CSr = log(b) + b/2 CSpu = b CSps = b CBu = L+1 CBn = L+ ( é s / ( é m/2 ù -1) ù - 1) + s CBr = L+ b L /2 + r/2

lindley
Télécharger la présentation

CUu = b (worst case) b/2 (average case). CUn = b CUr = b CUpu = b CUps = b log (b) + b

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. All Equations for Cost Estimation • CUu = b (worst case) b/2 (average case). • CUn = b • CUr = b • CUpu = b • CUps = b log (b) + b • CSu = log(b) • CSn = log(b) + és/bf ù - 1 • CSr = log(b) + b/2 • CSpu = b • CSps = b • CBu = L+1 • CBn = L+ (és / (ém/2 ù -1) ù - 1) + s • CBr = L+ bL/2 + r/2 • CBpu = L + bL + r • CBps = L + bL + r • CBPu = L • CBPn = L+ (és / (ém/2 ù -1) ù - 1) • CBPr = L+ bL/2 • CBPpu = L + bL • CBPps = L + bL • CHu = 1+1 = 2 • CHn = 1+s • CHr = NA • CHpu = #bins + r • CHps = NA • CCu = log(bR+bS) • CCn = log(bR+bS) + és/bf ù - 1 • CCr = log(bR+bS) + (bR+bS)/2 • CCpu = bR+bS • CCps = bR+bS • CJ1 = bR + bR * bS • CJ2 = bR + rR * (Ls+ (éss / (éms/2ù -1) ù - 1) + ss) • CJ3 = bR + bS [for clustered files] Need: L <= logém/2ù[(n+1)/2] + 1 m: (m-1)|Key| + (m-1)|data ptr| + (m)|child ptr| <= Block Size bL = ér / (ém/2 ù -1) ù

More Related