Probabilistic analysis of algorithms: Difference between revisions
m Added citations |
untrue that this is unsourced. It has three good sources. The article is short enough that footnoting rather than listing sources at the end would not be more informative. |
||
Line 1: | Line 1: | ||
{{nosources|date=April 2021}} |
|||
In [[analysis of algorithms]], '''probabilistic analysis of algorithms''' is an approach to estimate the [[Analysis of algorithms|computational complexity]] of an [[algorithm]] or a computational problem. It starts from an assumption about a probabilistic distribution of the set of all possible inputs. This assumption is then used to design an efficient algorithm or to derive the complexity of a known algorithm. |
In [[analysis of algorithms]], '''probabilistic analysis of algorithms''' is an approach to estimate the [[Analysis of algorithms|computational complexity]] of an [[algorithm]] or a computational problem. It starts from an assumption about a probabilistic distribution of the set of all possible inputs. This assumption is then used to design an efficient algorithm or to derive the complexity of a known algorithm. |
||
This approach is not the same as that of [[probabilistic algorithm]]s, but the two may be combined. |
This approach is not the same as that of [[probabilistic algorithm]]s, but the two may be combined. |
Revision as of 21:57, 25 January 2024
In analysis of algorithms, probabilistic analysis of algorithms is an approach to estimate the computational complexity of an algorithm or a computational problem. It starts from an assumption about a probabilistic distribution of the set of all possible inputs. This assumption is then used to design an efficient algorithm or to derive the complexity of a known algorithm. This approach is not the same as that of probabilistic algorithms, but the two may be combined.
For non-probabilistic, more specifically deterministic, algorithms, the most common types of complexity estimates are the average-case complexity and the almost-always complexity. To obtain the average-case complexity, given an input distribution, the expected time of an algorithm is evaluated, whereas for the almost-always complexity estimate, it is evaluated that the algorithm admits a given complexity estimate that almost surely holds.
In probabilistic analysis of probabilistic (randomized) algorithms, the distributions or average of all possible choices in randomized steps is also taken into account, in addition to the input distributions.
See also
- Amortized analysis
- Average-case complexity
- Best, worst and average case
- Random self-reducibility
- Principle of deferred decision
References
- https://link.springer.com/chapter/10.1007/978-3-662-12788-9_2
- https://books.google.com.tr/books?hl=tr&lr=&id=XDr0BwAAQBAJ&oi=fnd&pg=PA1&dq=Probabilistic+analysis+of+algorithms&ots=8Dccj3ET5H&sig=cYB6-q1_BfdlT22alI3aTHlBgzs&redir_esc=y#v=onepage&q=Probabilistic%20analysis%20of%20algorithms&f=false
- https://link.springer.com/chapter/10.1007/978-3-7091-9076-0_11