Home  >  Article  >  What does the finiteness of an algorithm mean?

What does the finiteness of an algorithm mean?

藏色散人
藏色散人Original
2020-03-04 13:21:4340578browse

What does the finiteness of an algorithm mean?

What does the finiteness of an algorithm mean?

The finiteness of an algorithm refers to (the finiteness of an algorithm program) The running time is limited)

The basic characteristics of the algorithm mainly include the following four aspects:

1. Feasibility: An algorithm designed for actual problems can obtain satisfactory results after execution.

2. Determinism: Each step in the algorithm must be clearly defined, and ambiguous interpretations and ambiguities are not allowed.

3. Finiteness: The algorithm must be completed within a limited time, that is, the algorithm must be able to terminate after executing a limited number of steps.

4. Have enough intelligence: To make the algorithm effective, you must provide the algorithm with enough intelligence. When the algorithm has enough intelligence, the algorithm is most effective; when the information provided is not enough, the algorithm may be ineffective. .

For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!

The above is the detailed content of What does the finiteness of an algorithm mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn