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
NearMeの技術発表資料です
PRO
January 17, 2023
Research
390
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の技術発表資料です
Claude Code × git worktree で並列開発 (続き) -差分のサービスだけを併設する-
nearme_tech
PRO
1
39
Claude Code × git worktree で並列開発 — サブモジュール構成のリポジトリで成立させる —
nearme_tech
PRO
0
46
LLM + 強化学習
nearme_tech
PRO
0
30
PosthogのA/Bテスト機能の紹介
nearme_tech
PRO
1
40
AIフレンドリーなプロダクトに向けて
nearme_tech
PRO
2
63
初めてのLean言語
nearme_tech
PRO
0
99
Apache Airflow Workflow orchestration without turning cron into spaghetti
nearme_tech
PRO
2
37
実務で役立つ幾何学 ボロノイ図の基礎から グラフ・ネットワーク応用まで
nearme_tech
PRO
1
70
SQL/ID抽出タスクから考える 実践的なハルシネーション対策
nearme_tech
PRO
1
85
Other Decks in Research
See All in Research
LINEヤフー データサイエンス Meetup「三井物産コモディティ予測チャレンジ」の舞台裏-AlpacaTechパート
gamella
1
640
論文読み会 SNLP2026 Tau2-Bench: Evaluating Conversational Agents in a Dual-Control Environment
s_mizuki_nlp
0
190
PHTalks Bengaluru - SSRF When All Else Fails
dk999
0
1.1k
The story of RefactoringMiner. Slow research, long-term impact
tsantalis
0
130
重要だけど測れていないもの:高齢者ケアの見えない課題
theoriatec2024
0
490
260624_NLP-colloquium: Hubness
de9uch1
1
210
XDPerf: A High-Performance Traffic Generator Built with WASM and eBPF
takehaya
1
270
【Zozo Research 技術共有会】三次元領域の現在と展望
mickey_0226
3
590
RS-Agent: Automating Remote Sensing Tasks through Intelligent Agent
satai
3
510
計算情報学研究室(数理情報学第7研究室)2026
tomohirokoana
0
800
MM-OVSeg: Multimodal Optical–SAR Fusion for Open-Vocabulary Segmentation in Remote Sensing
satai
3
120
[Fishers] DIVER OSINT CTF 2026 特化AIエージェントハーネスで挑戦するOSINT CTF
analokmaus
0
530
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Amusing Abliteration
ianozsvald
1
280
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
310
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.5k
The browser strikes back
jonoalderson
0
1.6k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
GraphQLとの向き合い方2022年版
quramy
50
15k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
560
Measuring & Analyzing Core Web Vitals
bluesmoon
9
980
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
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