究竟是什么大Ө符号重新present? [英] What exactly does big Ө notation represent?

查看:155
本文介绍了究竟是什么大Ө符号重新present?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真搞不清楚大O,大欧米茄和大西塔符号之间的差异。

I'm really confused about the differences between big O, big Omega, and big Theta notation.

据我所知,大O是上界,大欧米茄是下限,但究竟是什么大Ө(THETA)重新present?

I understand that big O is the upper bound and big Omega is the lower bound, but what exactly does big Ө (theta) represent?

我已阅读,这意味着 紧约束,但什么意思?

I have read that it means tight bound, but what does that mean?

推荐答案

这意味着,该算法在给定函数两个大O和大欧米茄。

It means that the algorithm is both big-O and big-Omega in the given function.

例如,如果是Ө(N),则存在常数 K ,这样你功能(运行时间,等等),大于 N *氏/ code>足够大的 N ,和一些其他的常 K 这样,你的功能比 N *氏/ code>足够大的 N

For example, if it is Ө(n), then there is some constant K, such that your function (run-time, whatever), is larger than n*K for sufficiently large n, and some other constant k such that your function is smaller than n*k for sufficiently large n.

在换句话说,对于足够大的 N ,它被夹在两个线性函数之间

In other words, for sufficiently large n, it is sandwiched between two linear functions.

这篇关于究竟是什么大Ө符号重新present?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆