summaryrefslogtreecommitdiff
path: root/impl/Solver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Solver.hpp')
-rw-r--r--impl/Solver.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/impl/Solver.hpp b/impl/Solver.hpp
new file mode 100644
index 0000000..53751ca
--- /dev/null
+++ b/impl/Solver.hpp
@@ -0,0 +1,30 @@
+#ifndef SOLVER_HPP
+#define SOLVER_HPP
+
+template<typename T>
+struct MaxStrategy {
+ MaxStrategy(unsigned int count)
+ : size(count){
+
+ }
+ Expression<T> takeTo(const Expression<T>& from, const Expression<T>& to) {
+ }
+ Expression<T> operator() (const Expression<T>& expression) const {
+ }
+ private:
+ unsigned int count;
+ Expression<T>* mappings;
+};
+
+template<typename T>
+struct Solver {
+ Solver(ExpressionFactory<T> factory, EquationSystem<T> system)
+ : numExpressions(factory.count()), numVariables(system.count()) {
+ }
+ private:
+ unsigned int numExpressions;
+ unsigned int numVariables;
+ MaxStrategy _strategy;
+};
+
+#endif