网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Nondeterministic algorithm
释义

Nondeterministic algorithm

英语百科

Nondeterministic algorithm

 A deterministic algorithm that performs f(n) steps always finishes in n steps and always returns the same result.  A non deterministic algorithm that has f(n) levels might not return the same result on different runs.  A non deterministic algorithm may never finish due to the potentially infinite size of the fixed height tree.

In computer science, a nondeterministic algorithm is an algorithm that, even for the same input, can exhibit different behaviors on different runs, as opposed to a deterministic algorithm. There are several ways an algorithm may behave differently from run to run. A concurrent algorithm can perform differently on different runs due to a race condition. A probabilistic algorithm's behaviors depends on a random number generator. An algorithm that solves a problem in nondeterministic polynomial time can run in polynomial time or exponential time depending on the choices it makes during execution. The nondeterministic algorithms are often used to find an approximation to a solution, when the exact solution would be too costly to obtain using a deterministic one.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/20 13:03:09