How to check the ideal optimization algorithm?

Is there a way to test the ideal optimization algorithm?

+3
source share
2 answers

For those among us, mortals who just want to know if there is an algorithm:

  • works reasonably as expected;
  • faster than others;

There is a simple step called the "standard."

Pick the best rivals in this area and compare them with your algorithm.

If your algorithm wins, it better suits your needs (those defined by your tests).

+4
source

There is no easy way to prove that any given algorithm is asymptotically optimal.

( -) / , . Union-Find/disjoint-set.

, , node node. . 1964 , .

[...] ; , O(α(n)), α(n) f(n) = A(n,n), A Ackermann.

[...] , : 1989 , Ω (α (n)) .

, , , , . , , .

.


, "" - (, , ..).

quicksort , , - / .

+8

Source: https://habr.com/ru/post/1755094/


All Articles