indeed,an "a priori" algorithm must deal with the time variable,which is absent from the "a posteriori" problem.