From e645b307a7a32c3c3d12989ccf6d60e324392d60 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 1 Feb 2015 14:57:56 +0100 Subject: Begin work on UI --- problem.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'problem.cpp') 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()); } +// =============================== // +// IMPLEMENTATION FOR CLASS SOLVER // +// =============================== // + +// TODO + /* vim: set ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3