https://123deta.com/document/zpn46ng4-introduction-magdalenakobylanski-marie-clairequenez-optimalstoppingtimeprobleminageneralframework.html