summaryrefslogtreecommitdiff
path: root/impl/Solver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Solver.hpp')
-rw-r--r--impl/Solver.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/impl/Solver.hpp b/impl/Solver.hpp
new file mode 100644
index 0000000..11369bc
--- /dev/null
+++ b/impl/Solver.hpp
@@ -0,0 +1,17 @@
+#ifndef SOLVER_HPP
+#define SOLVER_HPP
+
+#include "Factory.hpp"
+#include "VariableAssignment.hpp"
+
+template<typename T>
+struct Solver {
+ VariableAssignment<T> solveBF(const EquationSystem<T>& system) {
+ VariableAssignment<T> result;
+ for (unsigned int i = 0; i < _var_count; ++i) {
+ result = system(result);
+ }
+ }
+};
+
+#endif