Wener Notes

CS221 States-based models

约 1 分钟阅读

States-based models

搜索优化

Tree search : 树搜索

Backtracking search : 回溯搜索

Breadth-first search (BFS) : 广度优先搜索

Depth-first search (DFS) : 深度优先搜索

Iterative deepening : 迭代加深

AlgorithmAction costsSpaceTime
Backtracking searchanyO(D)\mathcal{O}(D)O(bD)\mathcal{O}(b^D)
BFSc⩾0c\geqslant0O(bd)\mathcal{O}(b^d)O(bd)\mathcal{O}(b^d)
DFS0O(D)\mathcal{O}(D)O(bD)\mathcal{O}(b^D)
DFS-Iterative deepeningc⩾0c\geqslant0O(d)\mathcal{O}(d)O(bd)\mathcal{O}(b^d)
  • bb - 每个状态的操作数量
  • dd - solution depth - 解的深度
  • DD - 最大深度

Dynamic programming - DP : 动态规划 : backtracking search + memoization

FutureCost(s)={0if IsEnd(s)mina∈Actions(s)[Cost(s,a)+FutureCost(Succ(s,a))]otherwise\textrm{FutureCost}(s)=\left\{\begin{array}{lc}0 & \textrm{if IsEnd}(s)\\\underset{a\in\textrm{Actions}(s)}{\textrm{min}}\big[\textrm{Cost}(s,a)+\textrm{FutureCost(Succ}(s,a))\big] & \textrm{otherwise}\end{array}\right.

  • Explored E\mathcal{E}
  • Frontier F\mathcal{F}
  • Unexplored U\mathcal{U}

Uniform cost search - UCS : 统一代价搜索 : Dijkstra's algorithm : 不支持 negative action costs

AlgorithmAcyclicityCostsTime/space
Dynamic programmingyesanyO(N)\mathcal{O}(N)
Uniform cost searchnoc⩾0c\geqslant0O(nlog⁡(n))\mathcal{O}(n\log(n))

Learning costs

Structured perceptron : 结构感知机

A∗\mathbf A ^ * search : A∗\mathbf A ^ * 搜索

关联信息

反向链接、本文链接的其他页面和外部资料。

反向链接

  • CS221 AI - Principles and Techniques
    笔记 · States-based models

    基于刺激的模型 - Reflex-based models · 基于状态的模型 - States-based models · 基于变量的模型 - variable · 基于逻辑的模型 - logic · https://www.youtube.com/watch?v=J8Eh7RqggsU&list=PLoROMvodv4rO1NB9TD4iUZ3q...

References

其他外链3 条
最近更新commit ad36accEdit

On this page