mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-30 00:50:46 +08:00
update
This commit is contained in:
-5
@@ -3,13 +3,8 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="025aff36-a6aa-4945-ab7e-b2c625055f47" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/a_star.py" beforeDir="false" afterPath="$PROJECT_DIR$/a_star.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/bfs.py" beforeDir="false" afterPath="$PROJECT_DIR$/bfs.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dfs.py" beforeDir="false" afterPath="$PROJECT_DIR$/dfs.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/dijkstra.py" beforeDir="false" afterPath="$PROJECT_DIR$/dijkstra.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/env.py" beforeDir="false" afterPath="$PROJECT_DIR$/env.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/motion_model.py" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/tools.py" beforeDir="false" afterPath="$PROJECT_DIR$/plotting.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
||||
@@ -18,7 +18,7 @@ class BFS:
|
||||
self.obs = self.Env.obs # position of obstacles
|
||||
[self.path, self.policy, self.visited] = self.searching(self.xI, self.xG)
|
||||
|
||||
self.fig_name = "Dijkstra's Algorithm"
|
||||
self.fig_name = "Breadth-first Searching"
|
||||
plotting.animation(self.xI, self.xG, self.obs,
|
||||
self.path, self.visited, self.fig_name) # animation generate
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class DFS:
|
||||
self.obs = self.Env.obs # position of obstacles
|
||||
[self.path, self.policy, self.visited] = self.searching(self.xI, self.xG)
|
||||
|
||||
self.fig_name = "Dijkstra's Algorithm"
|
||||
self.fig_name = "Depth-first Searching"
|
||||
plotting.animation(self.xI, self.xG, self.obs,
|
||||
self.path, self.visited, self.fig_name) # animation generate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user