第五章约束满足问题
Review: Last Chapter
Best-first search
Heuristic functions estimate costs of shortest paths
Good heuristics can dramatically reduce search cost
greedy best-first search expands lowest h
incomplete and not always optimal
A* search expands lowest g+ h
complete and optimal
-also optimally efficient (up to tie-breaks, for forward search
Admissible heuristics can be derived from exact solution of relaxed
Review: Last Chapter
Local search algorithms
the path to the goal is irrelevant; the goal state itself is the solution
keep a singlecurrent state try to improve it
lill-climbing search
depending on initial state, can get stuck in local maxima
Simulated annealing search
escape local maxima by allowing somebadmoves but
gradually decrease their frequency
Local beam search
Keep track of k states rather than just one
Genetic algorithms
本章大纲
· CSP examples
Backtracking search for CSPs
Problem structure and problem decomposition
Local search for csps
Constraint satisfaction problems(CSPs
Standard search problem
state is ablack box-any old data structure that supports goal test
al. successor
任何可以由目标测试、评价函数、后继函数访问的数据结构
state is defined by variables X with values from domain (X)D
goal test is a set of constraints specifying allowable combinations of values
for subsets of variables
每个约束包括一些变量的子集,并指定这些子集的值之间允许进行的
合并
Simple example of a formal representation language(形式化表示方法)
Allows useful general- purpose(通用的,而不是问题特定的)
algorithms with more power than standard search algorithms
Example: Map-Coloring
Northern
Territory
Western
New South wale
victoris
Tasmania
变量 WA, NT O, NSWV SA,T
值域D={red,gren,b/uej
约束: adjacent regions must have different colors
e.g., WA NT, or(if the language allows this), or
(WA, NT)E i(red, green), (red, blue),(green, red), (green, blue).)
Example: Map-Coloring
Northern
New South Waks
Solutions are assignments satisfying all constraints, e. g
(WA=red, NT=green, Q=red, NSW=green, V =red
SA
您可能关注的文档
最近下载
- 如何做到血液透析充分性.ppt VIP
- 2025年吉林事业单位招聘考试卫生类医学影像专业知识试卷.docx VIP
- 2026版事业单位笔试-吉林-吉林医学影像(医疗招聘)历年参考题库含答案解析5套试卷版.docx VIP
- 电外科安全知识课件下载.pptx VIP
- 2025年吉林省卫生事业单位招聘考试(医学影像专业)历年参考题库含答案详解(5卷).docx VIP
- 中国影视音乐——哪吒电影音乐+课件-2025-2026学年高中音乐人音版(2019)+必修+音乐鉴赏.pptx VIP
- 哪吒V汽车说明书.docx VIP
- 人教版高中英语必修三单词默写版.doc VIP
- 2020新人教版高中英语必修三单词中译英默写.pdf VIP
- DB22T 2287-2015 蓝莓矿质营养诊断技术要求.docx VIP
原创力文档

文档评论(0)