In order to plan ahead for multiple moves, an algorithm known as a markov decision process is commonly used when there are only a reasonably small group of possible world states.
为了计划后面多个步骤,当可能的世界状态数目不算太多时,通常用到一种被称作马尔科夫决策过程的算法。
2
I had to choose between spending several columns revising the algorithm and releasing it with a less satisfactory (running multiple DFAs in parallel) but stable technical solution.
Each individual variant had little impact, however, so the researchers developed an algorithm to combine the effects of multiple variants acting together.