The theory of dynamic programming is based on the principle of optimality, which states that an optimal policy has the property that whatever the initial state and initial decision are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decision.
动态规划理论基于最优性原理,该原理指出,无论初始状态和初始决策如何,剩余决策必须构成关于第一个决策所导致状态的最优策略。
诗人是一个种下一棵树然后坐在它的树荫下的人。