You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waldo(std::vector<std::vector<bool>> *obstacleHash, std::vector<std::shared_ptr<Rect>> *obstacleRects, int width, int height,
71
+
Waldo(std::shared_ptr<std::vector<std::vector<bool>>> obstacleHash, std::shared_ptr<std::vector<std::shared_ptr<Rect>>> obstacleRects, int width, int height,
Copy file name to clipboardexpand all lines: src/planning/AStar.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ struct PriorityQueue {
28
28
/////////////////////////////
29
29
////////////////////////////
30
30
31
-
AStar::AStar(vector<vector<bool>> *obstacleHash, vector<shared_ptr<Rect>> *obstacleRects, int width, int height, bool usePseudoRandom,
31
+
AStar::AStar(shared_ptr<vector<vector<bool>>> obstacleHash, shared_ptr<vector<shared_ptr<Rect>>> obstacleRects, int width, int height, bool usePseudoRandom,
Copy file name to clipboardexpand all lines: src/planning/AStar.hpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ class AStar : public Planner {
15
15
int dy;
16
16
17
17
public:
18
-
AStar(std::vector<std::vector<bool>> *obstacleHash, std::vector<std::shared_ptr<Rect>> *obstacleRects, int width, int height,
18
+
AStar(std::shared_ptr<std::vector<std::vector<bool>>> obstacleHash, std::shared_ptr<std::vector<std::shared_ptr<Rect>>> obstacleRects, int width, int height,
Copy file name to clipboardexpand all lines: src/planning/OnlineFmtStar.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
usingnamespacestd;
8
8
9
-
OnlineFmtStar::OnlineFmtStar(vector<vector<bool>> *obstacleHash, vector<shared_ptr<Rect>> *obstacleRects, double maxSegment, int width, int height,
9
+
OnlineFmtStar::OnlineFmtStar(shared_ptr<vector<vector<bool>>> obstacleHash, shared_ptr<vector<shared_ptr<Rect>>> obstacleRects, double maxSegment, int width, int height,
Copy file name to clipboardexpand all lines: src/planning/OnlineRrtStar.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
12
12
usingnamespacestd;
13
13
14
-
OnlineRrtStar::OnlineRrtStar(vector<vector<bool>> *obstacleHash, vector<shared_ptr<Rect>> *obstacleRects, double maxSegment, int width, int height,
14
+
OnlineRrtStar::OnlineRrtStar(shared_ptr<vector<vector<bool>>> obstacleHash, shared_ptr<vector<shared_ptr<Rect>>> obstacleRects, double maxSegment, int width, int height,
Copy file name to clipboardexpand all lines: src/planning/Planner.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
16
16
usingnamespacestd;
17
17
18
-
Planner::Planner(vector<vector<bool>> *obstacleHash, vector<shared_ptr<Rect>> *obstacleRects, int width, int height, bool usePseudoRandom)
18
+
Planner::Planner(shared_ptr<vector<vector<bool>>> obstacleHash, shared_ptr<vector<shared_ptr<Rect>>> obstacleRects, int width, int height, bool usePseudoRandom)
19
19
: haltonX(19), haltonY(31), rtree() {
20
20
// srand(time(NULL)); // initialize the random number generator so it happens
Planner(std::vector<std::vector<bool>> *obstacleHash, std::vector<std::shared_ptr<Rect>> *obstacleRects, int width, int height,
64
+
Planner(std::shared_ptr<std::vector<std::vector<bool>>> obstacleHash, std::shared_ptr<std::vector<std::shared_ptr<Rect>>> obstacleRects, int width, int height,
Copy file name to clipboardexpand all lines: src/planning/PrmStar.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
usingnamespacestd;
6
6
7
-
PrmStar::PrmStar(vector<vector<bool>> *obstacleHash, vector<shared_ptr<Rect>> *obstacleRects, int width, int height, bool usePseudoRandom,
7
+
PrmStar::PrmStar(shared_ptr<vector<vector<bool>>> obstacleHash, shared_ptr<vector<shared_ptr<Rect>>> obstacleRects, int width, int height, bool usePseudoRandom,
Copy file name to clipboardexpand all lines: src/planning/PrmStar.hpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ class PrmStar : public AStar {
14
14
GraphType graphType;
15
15
16
16
public:
17
-
PrmStar(std::vector<std::vector<bool>> *obstacleHash, std::vector<std::shared_ptr<Rect>> *obstacleRects, int width, int height,
17
+
PrmStar(std::shared_ptr<std::vector<std::vector<bool>>> obstacleHash, std::shared_ptr<std::vector<std::shared_ptr<Rect>>> obstacleRects, int width, int height,
0 commit comments