Skip to Content
算法技术手册(原书第2 版)
book

算法技术手册(原书第2 版)

by George T.Heineman, Gary Pollice, Stanley Selkow
August 2017
Intermediate to advanced
360 pages
8h 35m
Chinese
China Machine Press
Content preview from 算法技术手册(原书第2 版)
326
12
机所能够提供的内存非常大,因此对于均匀分布的数据,即便内存占用率很高,还是应
当考虑使用桶排序进行排序。
12-4
给出了空间树算法(见第
10
章),在各种情况下的性能。
12
-
4
空间树算法
算法 最好 平均 最差 涉及概念
最近邻查询 log
n
log
n n k
-
d
树和递归
四叉树 log
n
log
n
log
n
四叉树
范围查询
n
1-1
/d
+
r
n
1-1
/d
+
r n
k
-
d
树和递归
R log
n
log
n
log
n
R
12.5 构造一个搜索
人工智能(
AI
)领域的先驱们经常需要解决一些没有已知解法的问题。解决这些问题最
常用的方法就是将这些问题转化为一个在巨大图上搜索的问题。我们之所以花了一整章
讲述这个问题,就是因为搜索非常重要,并且它是一个可以解决大量问题的通用技巧。
然而,使用搜索的前提要确保真的没有其他可替代的计算方法存在!例如,寻路方法可
以将一个无序数组作为起点(初始结点)来生成目标数组(目标结点),但是使用这个
指数级时间的算法是没有必要的,因为已经有大量
O
(
n
log
n
)
的排序算法。
12-5
给出了寻路算法(见第
7
章)在各种情况下的性能。虽然这些算法都有着指数级
的性能,但它们依然是实现智能游戏对弈程序的首选。这些算法确定了问题解决方案的
结构,它们之所以成功是因为复杂的启发式技术在真正意义上让搜索变得更加智能。
12
-
5
人工智能中的寻路算法
算法 最好 平均 最差 涉及概念
深度优先搜索
b*d b
d
b ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)

机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)

Aurélien Géron
Go语言编程

Go语言编程

威廉·肯尼迪

Publisher Resources

ISBN: 9787111562221