Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A*アルゴリズム
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
NearMeの技術発表資料です
PRO
January 17, 2023
Research
380
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A*アルゴリズム
NearMeの技術発表資料です
PRO
January 17, 2023
More Decks by NearMeの技術発表資料です
See All by NearMeの技術発表資料です
PosthogのA/Bテスト機能の紹介
nearme_tech
PRO
1
21
AIフレンドリーなプロダクトに向けて
nearme_tech
PRO
1
50
初めてのLean言語
nearme_tech
PRO
0
76
Apache Airflow Workflow orchestration without turning cron into spaghetti
nearme_tech
PRO
1
21
実務で役立つ幾何学 ボロノイ図の基礎から グラフ・ネットワーク応用まで
nearme_tech
PRO
1
59
SQL/ID抽出タスクから考える 実践的なハルシネーション対策
nearme_tech
PRO
1
67
OpenCode & Local LLM
nearme_tech
PRO
0
200
OpenCode Introduction
nearme_tech
PRO
0
59
【Browser Automation × AI】 Stagehandを試してみよう
nearme_tech
PRO
0
160
Other Decks in Research
See All in Research
LINEヤフー データサイエンス Meetup「三井物産コモディティ予測チャレンジ」の舞台裏-AlpacaTechパート
gamella
1
610
Cross-Media Information Spaces and Architectures
signer
PRO
0
320
衛星×エッジAI勉強会 衛星上におけるAI処理制約とそ取組について
satai
4
620
多様なデータを許容し学習し続ける模倣学習 / Advanced Imitation Learning for VLA
prinlab
0
250
明日から使える!研究効率化ツール入門
matsui_528
13
7.5k
Overview of AGRODEP Activities and Current Status: Dr. Seraphin Niyonsenga
akademiya2063
PRO
0
120
National high-resolution cropland classification of Japan with agricultural census information and multi-temporal multi-modality datasets
satai
3
390
医療LLMの現在地〜最新研究から社会実装までを考える〜
kento1109
1
1.6k
老舗ものづくり企業でリサーチが変革を起こすまで - 三菱重工DXの実践
skydats
0
230
LLM Compute Infrastructure Overview
karakurist
2
1.5k
2026年版中小企業白書・小規模企業白書の概要
ozekinote
0
120
COFFEE-Japan PROJECT Impact Report(Uminomukou Coffee)
ontheslope
0
290
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
3
3.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Skip the Path - Find Your Career Trail
mkilby
1
170
Become a Pro
speakerdeck
PRO
31
6k
Amusing Abliteration
ianozsvald
1
240
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Why Our Code Smells
bkeepers
PRO
340
58k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
230
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Google's AI Overviews - The New Search
badams
0
1.1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Transcript
0 A*アルゴリズム 2023-01-25 第28回NearMe技術勉強会 Yuki Nonaka
1 目次 1. A*アルゴリズムとは 2. A*アルゴリズムの例題 1
2 ダイクストラ法を発展させた経路探索法で、ゴールから遠ざかるような 無駄な経路は探索しないことで高速化を行っている。また、コンピュー タゲームや地図プラットフォームにも応用されている。 A*アルゴリズムとは 2 goal start ここを通る経路を 探索するのは無駄
*辺の重みは全て非負であるとする。
3 A*アルゴリズムとは 評価関数f(n)はこれまでの累積コストg(n)とヒューリスティック関数h(n) の和で表される。 ここでh(n)は非負である必要がある。また、h(n)が真のコストh*(n)を上 回らない場合、許容的(admissible)といい、最適経路を返す。 3
4 4 スタート地点からゴール地点までの最適経路を求める。 それぞれのマスでg(n)、h(n)を計算して経路を探索する。 g=0 h=6 f=6 g=1 h=5 f=6
g=1 h=5 f=6 GOAL アルゴリズム (Nodeリストで考えるとわかりやすい。) 1. 現在地のg(n)、h(n)、f(n)を計算する。 2. 周りのノードをopenにし、g(n)、h(n)、f(n)を調べ る。 3. 現在地のノードはclosedにする。 4. openノードのうちf(n)が最も小さいマスに移動す る。 5. 1に戻る START g(n) = (START~現在地)の距離 h(n) = (現在地~GOAL)のマンハッタン距離 A*アルゴリズムの例題
5 5 A*アルゴリズムの例題 g=0 h=6 f=6 g=1 h=5 f=6 g=0
h=6 f=6 GOAL g=0 h=6 f=6 g=1 h=5 f=6 g=2 h=4 f=6 g=0 h=6 f=6 GOAL g=0 h=6 f=6 g=1 h=5 f=6 g=2 h=4 f=6 g=3 h=3 f=6 g=0 h=6 f=6 g=3 h=2 f=5 GOAL g=0 h=6 f=6 g=1 h=5 f=6 g=2 h=4 f=6 g=3 h=3 f=6 g=0 h=6 f=6 g=3 h=2 f=5 GOAL g=0 h=6 f=6 g=1 h=5 f=6 g=2 h=4 f=6 g=3 h=3 f=6 g=4 h=2 f=6 g=0 h=6 f=6 g=3 h=2 f=5 g=4 h=1 f=5 g=4 h=2 f=6 g=4 h=1 f=5 g=4 h=0 f=4
6 参考文献 • アルゴリズムとデータ構造, 大槻兼資(著), 秋葉拓哉(監修), 講談社, 2020 • Diestel.
Graph Theory. Springer-Verlag New York, 2017. • Altava, Ramon Andreu. Computation of Optimal Profiles in Descent and Approach Phases. Diss. Université Paul Sabatier-Toulouse III, 2020. 6
7 Thank you