本文为 BJUT 2021 Fall Introduction to AI 的读书笔记;
课程教材为:Artificial Intelligence: A Modern Approach;

Cover: Photo by Hu Chen on Unsplash

Hill Climbing (Steepest Ascending ver.)

Hill Climbing

  • Hill Climbing (Steepest Ascending ver.)
    • Introduction
    • Problems
    • Variants
    • See Also

#school_notes #algorithm/search

Introduction

如同上图所描述的一样,爬山法没有维护一个数据结构去保存到达当前 state 的 path,而只是站在当前 state 下寻找 neighbor 中的最大值,并作为下一个 state 返回,直到在周围找不到比当前 state 还要大的 node 为止。(局部最小值 trap 警告)

It’s like trying to find the top of Mount Everest in a thick fog while suffering from amnesia.

Hill Climbing is sometimes called greedy local search

Although greedy is considered one of the seven deadly sins, it turns out that the greedy algorithms often perform well.

Problems

  • local maxima: 一个 state which is greater than all of its neighbors but smaller than the global maxima.
  • ridge: a sequence of local maxima
  • plateaux(the plural form of plateau): flat shoulders (where the derivatives are 0)

Variants

To solve the previously addressed problems, there are numerous variants of the original Hill Climbing Algorithm

See Also

[[Informed Search and Local Search]]

[Introduction to AI] Local Search::Hill Climbing (最陡上升)相关推荐

  1. 零基础学启发式算法(2)-局部搜索(Local Search)和爬山算法(Hill Climbing)

    一.局部搜索(Local Search) 局部搜索是一种近似算法(Approximate algorithms),是一种简单的贪心搜索算法.从一个候选解开始,持续地在其邻域中搜索,直至邻域中没有更好的 ...

  2. Solve Slide Puzzle with Hill Climbing Search Algorithm

    Hill climbing search algorithm is one of the simplest algorithm which falls under local search and o ...

  3. Learning Local Search Heuristics for Boolean Satisfiability 2020-04-30

    Learning Local Search Heuristics for Boolean Satisfiability Abstract GNN (select variable) + local s ...

  4. 【智能算法】迭代局部搜索(Iterated Local Search, ILS)详解

    更多精彩尽在微信公众号[程序猿声] 迭代局部搜索(Iterated Local Search, ILS) 00 目录 局部搜索算法 简单局部搜索 迭代局部搜索 01 局部搜索算法 1.1 什么是局部搜 ...

  5. Python:实现hill climbing爬山法用来寻找函数的最大值算法(附完整源码)

    Python:实现hill climbing爬山法用来寻找函数的最大值算法 import mathclass SearchProblem:def __init__(self, x: int, y: i ...

  6. Hexo个人博客NexT主题添加Local Search本地搜索

    添加本地自定义站点内容搜索,可以通过文字标题或文字内容关键字搜索出相应文章 安装 hexo-generator-searchdb,在站点的根目录下执行以下命令: $ npm install hexo- ...

  7. 5.4 Penalty-Based Local Search Algorithms基于惩罚的局部搜索算法

    另一种扩展迭代改进策略的方法是,当搜索过程即将停滞在一个局部极小值时,修改该评估函数[71].这种方法也称为动态本地搜索(Dynamic Local Search, DLS)[52]. 基于惩罚的算法 ...

  8. 旅行商问题 java_爬山算法(Hill Climbing)解决旅行商问题(TSP)

    何为TSP问题? 旅行商问题 TSP(Travelling Salesman Problem)是数学领域中著名问题之一. 场景:一个旅行商人需要拜访n个城市 条件:要选择一个路径能够拜访到所有的城市, ...

  9. 爬山算法 ( Hill Climbing )/模拟退火(SA,Simulated Annealing)

    一. 爬山算法 ( Hill Climbing ) 爬山算法是一种简单的贪心搜索算法,该算法每次从当前解的临近解空间中选择一个最优解作为当前解,直到达到一个局部最优解.爬山算法实现很简单,其主要缺点是 ...

最新文章

  1. CentOS 7 学习(一) 配置LAMP和Nginx
  2. Go题目 自己做的 不完善的地方请评论指出
  3. 打破两项世界纪录,腾讯优图开源视频动作检测算法DBG
  4. 数学-矩阵计算(4)两种布局
  5. 【二十二】win 10 :Jmeter 报告可视化 —— 配置 Jmeter 接口 HTML 可视化测试报告,Jenkins + Jmeter + Ant 自动化集成环境搭建
  6. QStackedWidget设置无效问题
  7. 考研(一):一段不错的经历之考研总结
  8. C++知识点(三)函数
  9. android 字符串 声波,识别成功率100%的声波配网,看完你也可以实现一个
  10. K3 设置为AP,用于软件路由的后级。
  11. 数据恢复软件的原理是什么?
  12. PC端打开微信公众号文章 图片加载慢的解决方法
  13. ensp 华为路由器配置远程登陆(telnet,ssh)
  14. 医学图像分割之肝脏分割(2D)
  15. php中访问控制_php访问控制
  16. 怎么在手机上取消双重认证_谁知道苹果手机双重认证怎么弄?手机号都不知道谁的?...
  17. 微信小程序时间标签和时间范围的联动
  18. 关于CSS粘性定位——sticky
  19. 手机端在线商城开发(前端vue+后台php)
  20. Aspupload上传文件出错:Invalid registration key.

热门文章

  1. 英语口语学习(13-14)
  2. App Widget
  3. 石英晶体谐振器的应用指南
  4. Linux内核学习方法
  5. 使用反应路由器V4以编程方式导航
  6. VHDL语言Process
  7. 2022年安全员-B证特种作业证考试题库及模拟考试
  8. print log trace (I forgot it )
  9. KPI考核系统实战之一:环境搭建
  10. Python学习日记 Day1