Akra–Bazzi method

Akra–Bazzi method (Redirected from Akra–Bazzi theorem) Jump to navigation Jump to search This article includes a list of general references, mas faltam citações em linha correspondentes suficientes. Ajude a melhorar este artigo introduzindo citações mais precisas. (Fevereiro 2013) (Saiba como e quando remover esta mensagem de modelo) In computer science, the Akra–Bazzi method, or Akra–Bazzi theorem, is used to analyze the asymptotic behavior of the mathematical recurrences that appear in the analysis of divide and conquer algorithms where the sub-problems have substantially different sizes. It is a generalization of the master theorem for divide-and-conquer recurrences, which assumes that the sub-problems have equal size. It is named after mathematicians Mohamad Akra and Louay Bazzi.[1] Conteúdo 1 Formulação 2 Exemplo 3 Significado 4 Veja também 5 Referências 6 External links Formulation The Akra–Bazzi method applies to recurrence formulas of the form[1] {estilo de exibição T(x)=g(x)+soma _{i=1}^{k}uma_{eu}T(b_{eu}x+h_{eu}(x))qquad {texto{por }}xgeq x_{0}.} The conditions for usage are: sufficient base cases are provided {estilo de exibição a_{eu}} e {estilo de exibição b_{eu}} are constants for all {estilo de exibição eu} {estilo de exibição a_{eu}>0} para todos {estilo de exibição eu} {estilo de exibição 03} . In applying the Akra–Bazzi method, the first step is to find the value of {estilo de exibição p} para qual {estilo de exibição {fratura {7}{4}}deixei({fratura {1}{2}}certo)^{p}+deixei({fratura {3}{4}}certo)^{p}=1} . Neste exemplo, {estilo de exibição p=2} . Então, using the formula, the asymptotic behavior can be determined as follows:[3] {estilo de exibição {começar{alinhado}T(x)&in Theta left(x^{p}deixei(1+int_{1}^{x}{fratura {g(você)}{u^{p+1}}},duright)certo)\&=Theta left(x^{2}deixei(1+int_{1}^{x}{fratura {u^{2}}{u^{3}}},duright)certo)\&=Theta (x^{2}(1+ln x))\&=Theta (x^{2}log x).fim{alinhado}}} Significance The Akra–Bazzi method is more useful than most other techniques for determining asymptotic behavior because it covers such a wide variety of cases. Its primary application is the approximation of the running time of many divide-and-conquer algorithms. Por exemplo, in the merge sort, the number of comparisons required in the worst case, which is roughly proportional to its runtime, is given recursively as {estilo de exibição T(1)=0} e {estilo de exibição T(n)=Tleft(leftlfloor {fratura {1}{2}}nrightrfloor right)+Tleft(leftlceil {fratura {1}{2}}nrightrceil right)+n-1} for integers {displaystyle n>0} , and can thus be computed using the Akra–Bazzi method to be {estilo de exibição Theta (aluguel m)} .

See also Master theorem (analysis of algorithms) Asymptotic complexity References ^ Jump up to: a b Akra, Mohamad; Bazzi, Louay (Poderia 1998). "On the solution of linear recurrence equations". Computational Optimization and Applications. 10 (2): 195–210. doi:10.1023/UMA:1018373005182. ^ "Proof and application on few examples" (PDF). ^ Cormen, Thomas; Leiserson, Carlos; Rivest, Ronaldo; Stein, Clifford (2009). Introduction to Algorithms. Imprensa do MIT. ISBN 978-0262033848. External links O Método de Akra-Bazzi na Resolução de Equações de Recorrência (in Portuguese) Categorias: Asymptotic analysisTheorems in discrete mathematicsRecurrence relationsBazzi family

Se você quiser conhecer outros artigos semelhantes a Akra–Bazzi method você pode visitar a categoria Asymptotic analysis.

Deixe uma resposta

seu endereço de e-mail não será publicado.

Ir para cima

Usamos cookies próprios e de terceiros para melhorar a experiência do usuário Mais informação