aboutsummaryrefslogtreecommitdiff
path: root/problem.cpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 14:57:56 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 14:57:56 +0100
commite645b307a7a32c3c3d12989ccf6d60e324392d60 (patch)
tree0951cf98cba65b5dd547845d59d4601ed6a9ec32 /problem.cpp
parent97cb291cc348acb925e99144c725869e05ff4f46 (diff)
downloadRobotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.tar.gz
Robotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.zip
Begin work on UI
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 :*/