Algorithme à tout moment


Domaine

Définition

Français

algorithme "à tout moment"

Un algorithme dit "à tout moment" est un algorithme capable de donner une solution valide à un problème même s'il est interrompu avant d'avoir complété son exécution. La qualité de la solution s’améliore au fil du temps.

Source: https://corpus.ulaval.ca/jspui/bitstream/20.500.11794/17965/1/22184.pdf

Anglais

Anytime algorithm

In computer science, an anytime algorithm is an algorithm that can return a valid solution to a problem even if it is interrupted before it ends. The algorithm is expected to find better and better solutions the more time it keeps running.

Most algorithms run to completion: they provide a single answer after performing some fixed amount of computation. In some cases, however, the user may wish to terminate the algorithm prior to completion. The amount of the computation required may be substantial, for example, and computational resources might need to be reallocated. Most algorithms either run to completion or they provide no useful solution information. Anytime algorithms, however, are able to return a partial answer, whose quality depends on the amount of computation they were able to perform. The answer generated by anytime algorithms is an approximation of the correct answer.