Explain the A* heuristic and its weight in the A* planner
メンテナーはふだん 9 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 20/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
Read src/components/plan/astar/astar_path_planner.py, focusing on the heuristic, search method, and constructor docstring. Explain the implemented heuristic and the effect of weight=5.0 with equations, add a standard reference, and correct the constructor arguments; preserve behavior unless changing the heuristic is needed. Done when a beginner can connect each algorithm step to an equation and the tests pass.
索引モデルが issue の本文から書いたものです。
説明
Problem
This repository is learning material, so the algorithm code should show the math it implements and where it comes from. In src/components/plan/astar/astar_path_planner.py:
- The simulation uses
weight=5.0, so it is weighted A*, and the heuristic is the Manhattan distance on an 8-connected grid where diagonal moves cost 1. This heuristic is not admissible, so the path is not guaranteed to be the shortest. Explain this (or switch to an admissible heuristic such as the octile/Chebyshev distance), and explain the effect ofweight. heuristicandsearchhave no docstrings.- The constructor docstring lists arguments that don't exist (
visualize) and misses others (map_file,path_filename,gif_name).
Expected fix
- Add the equations and a short explanation in docstrings/comments next to the code that implements them, keeping it easy to follow for beginners
- Add a reference to the original paper or a standard textbook
- Don't change the behavior unless the issue says so
Done when
A beginner can match each step of the code to an equation, and all tests pass.
- 主要言語
- Python
- スター
- 1.9k
- フォーク
- 313
- 平均マージ
- 9日 10時間
- マージ済み PR(30日)
- 7
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ShisatoYano/AutonomousVehicleControlBeginnersGuide のほかの issue
-
good first issue refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#129 · コメント 1 件 ·
メンテナーはふだん 9 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#99 ·
メンテナーはふだん 9 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#98 ·
メンテナーはふだん 9 日以内に返信
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#88 ·
メンテナーはふだん 9 日以内に返信
-
long term
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#131 ·
メンテナーはふだん 9 日以内に返信
ShisatoYano/AutonomousVehicleControlBeginnersGuide の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
EclipseFdn/open-vsx.org#15057 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
FinanceFlash/unvibecode#349 ·
-
Mission statement: why this is free, in the README, Why This Exists and the wiki Home対応中かも @ChiefGyk3D が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ChiefGyk3D/Clouds-Against-Humanity#348 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
vllm-project/vime#508 ·
メンテナーはふだん 4 日以内に返信