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

 

单词 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.

随便看

 

英汉双解词典包含3607232条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
京ICP备09058993号 更新时间:2025/8/15 20:49:05