diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-01 14:57:56 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-01 14:57:56 +0100 |
commit | e645b307a7a32c3c3d12989ccf6d60e324392d60 (patch) | |
tree | 0951cf98cba65b5dd547845d59d4601ed6a9ec32 /problem.cpp | |
parent | 97cb291cc348acb925e99144c725869e05ff4f46 (diff) | |
download | Robotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.tar.gz Robotique-Projet-e645b307a7a32c3c3d12989ccf6d60e324392d60.zip |
Begin work on UI
Diffstat (limited to 'problem.cpp')
-rw-r--r-- | problem.cpp | 8 |
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 :*/ |