aboutsummaryrefslogtreecommitdiffstats
path: root/problem.hpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 17:17:35 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 17:17:35 +0100
commit3b8497a4d6c71ac542a2992a645c00bf99d45390 (patch)
treea7c125183618b649bff3cbd5c0f59e5c238c2052 /problem.hpp
parent74dba84f9197a3b65b194d8a3dc53bf086d9f072 (diff)
downloadRobotique-Projet-3b8497a4d6c71ac542a2992a645c00bf99d45390.tar.gz
Robotique-Projet-3b8497a4d6c71ac542a2992a645c00bf99d45390.zip
Implement movement rendering
Diffstat (limited to 'problem.hpp')
-rw-r--r--problem.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/problem.hpp b/problem.hpp
index 381b52d..685e1df 100644
--- a/problem.hpp
+++ b/problem.hpp
@@ -86,14 +86,14 @@ struct solver_internal {
// intermediate data for the solver
// represents a graph of randomly chosen positions and simple solutions between them
std::vector<hilare_a> pts;
- std::map<int, std::map<int, hilare_a_mvt> > paths;
+ std::map<int, std::map<int, solution> > paths;
};
class solver {
// mutex-protected asynchronous structure
private:
- //todo
+ solver_internal _d;
public:
solver();
@@ -101,6 +101,8 @@ class solver {
void start(const problem &p);
bool finished();
solution get_solution();
+
+ solver_internal peek_internal();
};