Nicolas Cage's superpower in this film is "to foresee the future within two minutes", described in computer language is that he can initiate a recursive traversal with the current situation as the source point , the traversal is limited to a depth of two minutes, so the unfavorable positions will be pruned (so that our search can be optimized), and finally an optimal branch is selected and selected for action in the current situation. Take him flying over the railway as an example: he first tested the speed of 80, the result was blocked by the train, and then he was caught; then tested the speed of 90, when he was killed by the train; then tested 100, just enough to fly over the railway and use The train blocked the pursuers. Select this branch and prune the cases above 100. In fact, when your CPU and memory are enough, you can try more, but at a speed of 120+, it is very likely that you will not have time to turn and hit the opposite building. There is also the part of searching for his girlfriend in the warehouse, which reminds me of the Chinese chess program we compiled and the depth-first solution of the maze problem...
This movie is similar to the latest popular Men in Black 3. . "Seeing the future within two minutes" is equivalent to "going back to the past within two minutes", that is, allowing you to set storage points in the current time and space, if what happens next is not good for you (such as being killed , you are arrested, or the lottery ticket drawn is different from the one you bought), you can go back to the current time and space and choose again. This is a Save/Load process. In many games, SL is a winning weapon. And the cruelest thing about real life is that it's only once for everyone and doesn't allow SL.
View more about Next reviews