https://9lib.net/document/7qv8d5lz-approximate-dynamic-programming-optimal-search-obstacle.html