aboutsummaryrefslogtreecommitdiff
path: root/problem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'problem.cpp')
-rw-r--r--problem.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/problem.cpp b/problem.cpp
index c196879..25061c5 100644
--- a/problem.cpp
+++ b/problem.cpp
@@ -17,7 +17,7 @@ bool hilare_a_mvt::intersects(const obstacle &o) const {
}
bool hilare_a_mvt::intersects(const problem &p) const {
- for (auto i = p.map.begin(); i != p.map.end(); i++) {
+ for (auto i = p.obstacles.begin(); i != p.obstacles.end(); i++) {
if (intersects(*i)) return true;
}
return false;
@@ -32,4 +32,10 @@ solution solution::direct_sol(const hilare_a &pos_a, const hilare_a &pos_b) {
return solution(vector<hilare_a_mvt>());
}
+// =============================== //
+// IMPLEMENTATION FOR CLASS SOLVER //
+// =============================== //
+
+// TODO
+
/* vim: set ts=4 sw=4 tw=0 noet :*/