Open ThomsonTang opened 7 years ago
- Tilde approximations
- Order-of-growth classifications
~f(N)
to represent any function that when divided by f(N)
approaches 1 as N grows. We write g(N) ~ f(N)
to indicate that g(N)/f(N)
approaches 1 as N grows.g(N) ~ a f(N)
where f(N) = N^b log^c N
and refer to f(N)
as the The order of growth of g(N). We use just a few structural primitives (statements, conditions, loops, nesting, and method calls) to implement algorithms, so very often the order of growth of the cost is one of just a few functions of the problem size N.tilde approximation
and order of growth
:
书名卡
作者卡