Anytime algorithm – an algorithm that can return a valid solution to a problem even if it is interrupted before it ends. En informatique, un algorithme anytime ("à tout moment") est un algorithme capable de donner une solution valide à un problème même s'il est interrompu avant d'avoir terminé.