From 5a91fdc1a3d4b140d75bd96a0bdf308de6789478 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 2 Feb 2015 00:36:46 +0100 Subject: Look for more solutions --- problem.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'problem.hpp') diff --git a/problem.hpp b/problem.hpp index 4933ed6..e51b722 100644 --- a/problem.hpp +++ b/problem.hpp @@ -92,6 +92,8 @@ struct solution { // simple direct solution from A to B, takes into account no obstacles static std::vector direct_sol(const hilare_a &pos_a, const hilare_a &pos_b); + // same but try to rotate a bit before and after + static std::vector direct_sol_r(const hilare_a &pos_a, const hilare_a &pos_b); // check if a solution intersects an obstacle of problem bool intersects(const problem &p) const; -- cgit v1.2.3