当前位置:网站首页>[dynamic planning] beginner level

[dynamic planning] beginner level

2022-06-13 10:47:00 Hibernating knife switch

Exhaustive method / Violent search

Memory search / prune

The calculated ones are saved , If you encounter the same problem, it will not be calculated

It is often said that dynamic planning is to trade space for time , That's why .
Also called memo recursion or recursive tree pruning .

Rewrite to iterative form

Suppose we find the optimal solution of the top of the recursive stack at the beginning , Then the calculation process is from back to front , All the way to the bottom of the recursive stack is the result we need .

原网站

版权声明
本文为[Hibernating knife switch]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/164/202206130925125312.html