SlideShare a Scribd company logo
ANY-ANGLE SEARCH
AI Frontiers 2018
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
Source: Courtesy of Alex Nash
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
goal
start
A* (GRID GRAPHS)
Pros
• Fast. Search is performed on a simple graph
• Graph edges are implied by the grid
• Each vertex has up to 8 neighbors
Cons
• Paths are long and unrealistic looking
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
Can we do better?
Hint: “Graphs don’t have to be grids”
goal
start
A* (VISIBILITY GRAPHS)
goal
start
A* (VISIBILITY GRAPHS)
goal
start
A* (VISIBILITY GRAPHS)
Pros
• Guaranteed to find a shortest path
Cons
• Slow. Search is performed on a complex graph
• Determining graph edges requires line-of-sight checks
• Each vertex can have lots of edges
goal
start
A* (VISIBILITY GRAPHS)
Pros
• Guaranteed to find a shortest path
Cons
• Slow. Search is performed on a complex graph
• Determining graph edges requires line-of-sight checks
• Each vertex can have lots of edges
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
Can we do better?
Hint: “Tighten slack ropes”
goal
start
A* (POST-SMOOTHING)
goal
start
A* (POST-SMOOTHING)
goal
start
A* (POST-SMOOTHING)
goal
start
A* (POST-SMOOTHING)
goal
start
A* (POST-SMOOTHING)
Pros
• Simple and fast
Cons
• Is often ineffective because search is decoupled from post-processing
• A* often finds paths that cannot be smoothed
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
A* with post-smoothing
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
A* with post-smoothing
Any other ideas?
FIELD D*
• Field D* is an extension of A*
• Propagates information along grid edges
• Does not constrain paths to be formed by grid edges
• Widely used by roboticists
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
FIELD D*
• Key idea:
• The choice of a node to expand does not have to be grid nodes
• It can be an intermediate node between grid nodes
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
FIELD D*
goal
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
FIELD D*
goal
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
FIELD D*
goal
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
f = 1 + sqrt(5) = 3.24
f = sqrt(2) + 2 = 3.41
FIELD D*
goal
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
f = 1 + sqrt(5) = 3.24
f = sqrt(2) + 2 = 3.41
f = sqrt(10) = 3.16
FIELD D*
goal
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
f = 1 + sqrt(5) = 3.24
f = sqrt(2) + 2 = 3.41
f = sqrt(10) = 3.16
goal
FIELD D*
start
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
goal
FIELD D*
start
Pros
• Interleaves smoothing with search
Cons
• Restricted to rectangular grids
• Subject to interpolation error
• Complex path extraction
FIELD D*
The Field D* Algorithm 9
f a path from the initial state to the goal has been calculated, the path is extracted
nitial position and iteratively computing the cell boundary point to move to next.
erpolation technique, it is possible to compute the path cost of any point inside a
he corners, which is useful for both extracting the path and getting back on track
perfect (which is usually the case for real robots). See Section 6 for more on path
a path planned using Field D* showing individual grid cells. Notice that the path is not
nd exiting cells at corner points.
10 D. Ferguson and A. Stentz
Fig. 11. Planning through a potential field of obstacles. At high grid resolutions, Field D* produces smoo
curves through both uniform and non-uniform cost environments; this is not generally true of standard gr
based planners.
amount of computation required when updating the neighbors of a popped state (lines {09 - 14})
only considering those states actually affected by the new value of the popped state and how the
states are affected.
To do this, we keep track of a backpointer for each state, specifying from which states it curren
derives its path cost. Since, in Field D*, the successor of each state is a point on an edge connecti
two of its neighboring states, this backpointer needs to specify the two states that form the endpoin
of this edge. We use bptr(s) to refer to the most clockwise of the two endpoint states relative
!
Dave Ferguson,Anthony Stentz: Using interpolation to improve path planning:The Field D* algorithm. J. Field Robotics
23(2): 79-101 (2006)
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
A* with post-smoothing (grid graphs)
Field D*
THETA*
• Like Field D*,Theta* is also an extension of A*
• It is (arguably) a simpler extension of A*
• Like Field D*, it also propagates information along grid edges
• Like Field D*, it also does not constrain paths to be formed by
grid edges
Alex Nash, Kenny Daniel, Sven Koenig,Ariel Felner:Theta*:Any-Angle Path Planning on Grids.AAAI 2007: 1177-1183
Kenny Daniel,Alex Nash, Sven Koenig,Ariel Felner:Theta*:Any-Angle Path Planning on Grids. J.Artif. Intell. Res. (JAIR)
39: 533-579 (2010)
THETA*
• Key idea:
• The parent of a node does not need to be its neighbor
• When expanding a node s and generating a node s’, 

typically, parent(s’) = s
• Now, parent(s’) can be parent(s) if this path is shorter
Alex Nash, Kenny Daniel, Sven Koenig,Ariel Felner:Theta*:Any-Angle Path Planning on Grids.AAAI 2007: 1177-1183
Kenny Daniel,Alex Nash, Sven Koenig,Ariel Felner:Theta*:Any-Angle Path Planning on Grids. J.Artif. Intell. Res. (JAIR)
39: 533-579 (2010)
goal
start
THETA*
goal
start
THETA*
goal
start
THETA*
goal
start
THETA*
goal
start
THETA*
goal
start
THETA*
goal
start
THETA*
Pros
• Interleaves smoothing with search
Cons
• Restricted to rectangular grids
• Simpler path extraction
THETA*
Field D* A* with post-smoothing Theta*
Shortest paths found by three algorithms
ANY-ANGLE TRADEOFFS
Path Length
ComputationTime
A* (grid graphs)
A* (visibility graphs)
A* with post-smoothing (grid graphs)
Theta*
Field D*

More Related Content

PDF
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
PDF
09 heuristic search
PDF
AI Lesson 05
PDF
Pathfinding - Part 1: Α* heuristic search
PPTX
A star algorithms
PPTX
Graphs
DOCX
Game Paper
PPTX
Astar algorithm
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
09 heuristic search
AI Lesson 05
Pathfinding - Part 1: Α* heuristic search
A star algorithms
Graphs
Game Paper
Astar algorithm

What's hot (19)

PDF
Presentation - Bi-directional A-star search
PPTX
PR3 MODIS_VIIRS_Geo_Error_Trend_with_Kalman_Filter.pptx
PPTX
A* Algorithm
PPTX
Lecture 21 problem reduction search ao star search
PPT
Computer graphics iv unit
PDF
Project_ Report
PDF
Unit ii divide and conquer -3
PPTX
Lecture 14 Heuristic Search-A star algorithm
PDF
Heuristic search
PPTX
A* algorithm
PPTX
Cross-Validation and Big Data Partitioning Via Experimental Design
PPT
Spatial SQL
PDF
A* Search Algorithm
PDF
Helicopter rotor tip vortex diffusion
PPT
Sulpcegu5e ppt 6_4
PDF
PPTX
TRB 2014 - Automatic Spatial-temporal Identification of Points of Interest in...
PPTX
Example of iterative deepening search & bidirectional search
PDF
1984 Article on An Application of AI to Operations Reserach
Presentation - Bi-directional A-star search
PR3 MODIS_VIIRS_Geo_Error_Trend_with_Kalman_Filter.pptx
A* Algorithm
Lecture 21 problem reduction search ao star search
Computer graphics iv unit
Project_ Report
Unit ii divide and conquer -3
Lecture 14 Heuristic Search-A star algorithm
Heuristic search
A* algorithm
Cross-Validation and Big Data Partitioning Via Experimental Design
Spatial SQL
A* Search Algorithm
Helicopter rotor tip vortex diffusion
Sulpcegu5e ppt 6_4
TRB 2014 - Automatic Spatial-temporal Identification of Points of Interest in...
Example of iterative deepening search & bidirectional search
1984 Article on An Application of AI to Operations Reserach
Ad

Similar to Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angle Search (20)

PDF
Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for...
PDF
Pathfinding - Part 3: Beyond the basics
PPT
Straight Line Distance Heuristic
PPT
Unit II Problem Solving Methods in AI K.sundar,AP/CSE,VEC
PPT
introtomotionplanI_meam620_v9_Maxim Likhachev.ppt
PPT
cps170_search.ppt. This ppt talk about search algorithm
PPT
cps170_search CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses...
PPT
Different Search Techniques used in AI.ppt
PPT
Chapter3 Search
PPT
ai and search algorithms general on a* and searching
PPTX
Popular search algorithms
PPTX
Lecture # 02-Search Algorithms11111.pptx
PPT
cs679-19.ppt aravaw afraaaarw aaw da adw
PPTX
SP14 CS188 Lecture 2 -- Uninformed Search.pptx
PPT
m3-searchAbout AI About AI About AI1.ppt
PPTX
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
PPTX
AI_Lecture2.pptx
PPTX
Lec#2
PPTX
3. ArtificialSolving problems by searching.pptx
PDF
Artificial Intelligence (AI) (Lecture 4).pdf
Implementation of D* Path Planning Algorithm with NXT LEGO Mindstorms Kit for...
Pathfinding - Part 3: Beyond the basics
Straight Line Distance Heuristic
Unit II Problem Solving Methods in AI K.sundar,AP/CSE,VEC
introtomotionplanI_meam620_v9_Maxim Likhachev.ppt
cps170_search.ppt. This ppt talk about search algorithm
cps170_search CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses...
Different Search Techniques used in AI.ppt
Chapter3 Search
ai and search algorithms general on a* and searching
Popular search algorithms
Lecture # 02-Search Algorithms11111.pptx
cs679-19.ppt aravaw afraaaarw aaw da adw
SP14 CS188 Lecture 2 -- Uninformed Search.pptx
m3-searchAbout AI About AI About AI1.ppt
AI UNIT 2 PPT AI UNIT 2 PPT AI UNIT 2 PPT.pptx
AI_Lecture2.pptx
Lec#2
3. ArtificialSolving problems by searching.pptx
Artificial Intelligence (AI) (Lecture 4).pdf
Ad

More from AI Frontiers (20)

PPTX
Divya Jain at AI Frontiers : Video Summarization
PPTX
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
PDF
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
PDF
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
PDF
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
PDF
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
PDF
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
PDF
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
PDF
Mark Moore at AI Frontiers : Uber Elevate
PPTX
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
PPTX
Arnaud Thiercelin at AI Frontiers : AI in the Sky
PPTX
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
PPTX
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
PPTX
Sumit Gupta at AI Frontiers : AI for Enterprise
PPTX
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
PPTX
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
PPTX
Long Lin at AI Frontiers : AI in Gaming
PDF
Melissa Goldman at AI Frontiers : AI & Finance
PPTX
Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...
PPTX
Ashok Srivastava at AI Frontiers : Using AI to Solve Complex Economic Problems
Divya Jain at AI Frontiers : Video Summarization
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
Mark Moore at AI Frontiers : Uber Elevate
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
Arnaud Thiercelin at AI Frontiers : AI in the Sky
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
Sumit Gupta at AI Frontiers : AI for Enterprise
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
Long Lin at AI Frontiers : AI in Gaming
Melissa Goldman at AI Frontiers : AI & Finance
Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...
Ashok Srivastava at AI Frontiers : Using AI to Solve Complex Economic Problems

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
August Patch Tuesday
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
1. Introduction to Computer Programming.pptx
PDF
project resource management chapter-09.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Architecture types and enterprise applications.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Zenith AI: Advanced Artificial Intelligence
PPT
What is a Computer? Input Devices /output devices
PPTX
observCloud-Native Containerability and monitoring.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Chapter 5: Probability Theory and Statistics
Hindi spoken digit analysis for native and non-native speakers
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Enhancing emotion recognition model for a student engagement use case through...
Web App vs Mobile App What Should You Build First.pdf
Developing a website for English-speaking practice to English as a foreign la...
TLE Review Electricity (Electricity).pptx
August Patch Tuesday
Module 1.ppt Iot fundamentals and Architecture
1. Introduction to Computer Programming.pptx
project resource management chapter-09.pdf
Tartificialntelligence_presentation.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Architecture types and enterprise applications.pdf
Getting Started with Data Integration: FME Form 101
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Zenith AI: Advanced Artificial Intelligence
What is a Computer? Input Devices /output devices
observCloud-Native Containerability and monitoring.pptx

Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angle Search