首页 > 编程学习 > Partial Correctness Terminate Total Correctness 的简单比较

前提:For legal input

Partial Correctness:
if algorithm terminates, then result output (也许有 output,且output必须都是true output)

Terminate:
algorithms halts when run any legal input (没有 output,或者output是wrong output)

Total Correctness:
indeed algorithm terminates, result output (一定有 output,且output必须都是true output)


本文链接:https://www.ngui.cc/zz/1995731.html
Copyright © 2010-2022 ngui.cc 版权所有 |关于我们| 联系方式| 豫B2-20100000